From 476e16ff2d22a5da3ab8b57a6c7789610b008e22 Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Mon, 31 Aug 2020 17:59:26 +0800 Subject: [PATCH] fix(Dialog): Dialog.close not work --- src/dialog/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dialog/index.js b/src/dialog/index.js index f89c602ca..9f977797c 100644 --- a/src/dialog/index.js +++ b/src/dialog/index.js @@ -96,7 +96,7 @@ Dialog.confirm = (options) => Dialog.close = () => { if (instance) { - instance.value = false; + instance.toggle(false); } };