From 7f4fb58605c7504539e18cd8147a64e94dffa94d Mon Sep 17 00:00:00 2001 From: Tangjinxia <1119518763@qq.com> Date: Thu, 26 Aug 2021 10:00:33 +0800 Subject: [PATCH] =?UTF-8?q?BI-85228=20fix:color=5Fchooser=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E5=8F=AF=E8=AE=BE=E7=BD=AE=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/case/colorchooser/colorchooser.js | 1 + src/case/colorchooser/colorchooser.simple.js | 1 + 2 files changed, 2 insertions(+) diff --git a/src/case/colorchooser/colorchooser.js b/src/case/colorchooser/colorchooser.js index 4eb14fdce..c81f8f6a3 100644 --- a/src/case/colorchooser/colorchooser.js +++ b/src/case/colorchooser/colorchooser.js @@ -25,6 +25,7 @@ BI.ColorChooser = BI.inherit(BI.Widget, { element: this, container: o.container, adjustLength: 1, + destroyWhenHide: o.destroyWhenHide, isNeedAdjustWidth: false, isNeedAdjustHeight: false, el: BI.extend({ diff --git a/src/case/colorchooser/colorchooser.simple.js b/src/case/colorchooser/colorchooser.simple.js index ac12bd426..a57700c38 100644 --- a/src/case/colorchooser/colorchooser.simple.js +++ b/src/case/colorchooser/colorchooser.simple.js @@ -25,6 +25,7 @@ BI.SimpleColorChooser = BI.inherit(BI.Widget, { value: o.value, width: o.width, height: o.height, + destroyWhenHide: o.destroyWhenHide, popup: { type: "bi.simple_hex_color_chooser_popup", recommendColorsGetter: o.recommendColorsGetter,