mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(Dialog): Dialog.close not work
This commit is contained in:
parent
f02afd882c
commit
476e16ff2d
@ -96,7 +96,7 @@ Dialog.confirm = (options) =>
|
|||||||
|
|
||||||
Dialog.close = () => {
|
Dialog.close = () => {
|
||||||
if (instance) {
|
if (instance) {
|
||||||
instance.value = false;
|
instance.toggle(false);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user