mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[Doc] fix dialog document (#1045)
This commit is contained in:
parent
5776327094
commit
3c1e3947fd
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user