[Doc] fix dialog document (#1045)

This commit is contained in:
neverland 2018-05-11 18:14:45 +08:00 committed by GitHub
parent 5776327094
commit 3c1e3947fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -111,7 +111,7 @@ export default {
}, },
methods: { methods: {
beforeClose() { beforeClose(action, done) {
if (action === 'confirm') { if (action === 'confirm') {
setTimeout(done, 1000); setTimeout(done, 1000);
} else { } else {

View File

@ -117,7 +117,7 @@ export default {
}, },
methods: { methods: {
beforeClose() { beforeClose(action, done) {
if (action === 'confirm') { if (action === 'confirm') {
setTimeout(done, 1000); setTimeout(done, 1000);
} else { } else {