[Doc] fix dialog document (#1045)
This commit is contained in:
@@ -111,7 +111,7 @@ export default {
|
||||
},
|
||||
|
||||
methods: {
|
||||
beforeClose() {
|
||||
beforeClose(action, done) {
|
||||
if (action === 'confirm') {
|
||||
setTimeout(done, 1000);
|
||||
} else {
|
||||
|
||||
@@ -117,7 +117,7 @@ export default {
|
||||
},
|
||||
|
||||
methods: {
|
||||
beforeClose() {
|
||||
beforeClose(action, done) {
|
||||
if (action === 'confirm') {
|
||||
setTimeout(done, 1000);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user