From 9fa1d9327a295f036dd0d21dcb04921e21f8c3e0 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Mon, 8 Mar 2021 14:46:49 +0800 Subject: [PATCH] =?UTF-8?q?BI-82620=20fix:=20=E8=87=AA=E5=AE=9A=E4=B9=89tr?= =?UTF-8?q?igger=E7=9A=84=E4=B8=8D=E9=A2=9D=E5=A4=96=E5=A4=84=E7=90=86?= =?UTF-8?q?=E5=AE=BD=E9=AB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/case/colorchooser/colorchooser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/case/colorchooser/colorchooser.js b/src/case/colorchooser/colorchooser.js index c321baf70..ac3efd910 100644 --- a/src/case/colorchooser/colorchooser.js +++ b/src/case/colorchooser/colorchooser.js @@ -32,8 +32,8 @@ BI.ColorChooser = BI.inherit(BI.Widget, { ref: function (_ref) { self.trigger = _ref; }, - width: o.width - 2, - height: o.height - 2 + width: o.el.type ? o.width : o.width - 2, + height: o.el.type ? o.height : o.height - 2 }, o.el), popup: { el: BI.extend({