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