From d1c7e4562f4044d9063226803b3b3342db808e18 Mon Sep 17 00:00:00 2001 From: Dailer Date: Mon, 20 Aug 2018 19:55:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0jira=E4=BB=BB=E5=8A=A1,invisible:true?= =?UTF-8?q?=20=E7=9A=84=E4=B8=8D=E8=A2=AB=E6=8C=82=E5=87=BA=E5=88=B0DOM?= =?UTF-8?q?=E8=BF=98=E6=98=AF=E8=A6=81=E7=9A=84.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/widget.js b/src/core/widget.js index 092871c0e5..4fcc9ca82f 100644 --- a/src/core/widget.js +++ b/src/core/widget.js @@ -180,7 +180,7 @@ _mount: function () { var self = this; var isMounted = this._isMounted; - if (isMounted || this.__asking === true) { + if (isMounted || !this.isVisible() || this.__asking === true) { return; } if (this._isRoot === true) {