From 5a508d335641284fd3c1a5f5514719d70b5419e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Tue, 17 Dec 2019 13:59:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layer/index.wc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layer/index.wc b/src/layer/index.wc index 9756dee..eccfc90 100644 --- a/src/layer/index.wc +++ b/src/layer/index.wc @@ -566,8 +566,8 @@ class Layer { if (this.props.type === 'toast') { this.timer = setTimeout(() => { - // toastInstance = null - // this.close() + toastInstance = null + this.close() }, 3000) }