From 4aede4f9f18359890333a4b6f9ecf5e630c7b5f9 Mon Sep 17 00:00:00 2001 From: guy Date: Fri, 21 Jan 2022 19:38:33 +0800 Subject: [PATCH] =?UTF-8?q?feature:=20=E5=B0=8F=E4=B8=89=E8=A7=92=E6=8D=A2?= =?UTF-8?q?=E4=B8=80=E7=A7=8D=E5=AE=9E=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/layer/layer.popup.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/base/layer/layer.popup.js b/src/base/layer/layer.popup.js index 6dc4b0abb..78ae47633 100644 --- a/src/base/layer/layer.popup.js +++ b/src/base/layer/layer.popup.js @@ -199,7 +199,7 @@ BI.PopupView = BI.inherit(BI.Widget, { }; placeholderStyle = { width: size.width, - left: 0, + left: "", right: 0, height: this._const.TRIANGLE_LENGTH, top: -this._const.TRIANGLE_LENGTH, @@ -228,11 +228,11 @@ BI.PopupView = BI.inherit(BI.Widget, { }; placeholderStyle = { width: size.width, - left: 0, + left: "", right: 0, height: this._const.TRIANGLE_LENGTH, - top: -this._const.TRIANGLE_LENGTH, - bottom: "" + top: "", + bottom: -this._const.TRIANGLE_LENGTH }; break; case "left": @@ -257,7 +257,7 @@ BI.PopupView = BI.inherit(BI.Widget, { }; placeholderStyle = { height: size.height, - top: 0, + top: "", bottom: 0, width: this._const.TRIANGLE_LENGTH, right: -this._const.TRIANGLE_LENGTH, @@ -286,7 +286,7 @@ BI.PopupView = BI.inherit(BI.Widget, { }; placeholderStyle = { height: size.height, - top: 0, + top: "", bottom: 0, width: this._const.TRIANGLE_LENGTH, left: -this._const.TRIANGLE_LENGTH,