From 016cb209c92293fa26b65e2daa8e6879ea8a0822 Mon Sep 17 00:00:00 2001 From: Kira Date: Tue, 2 Jul 2019 09:08:12 +0800 Subject: [PATCH] =?UTF-8?q?BI-46736=20fix:=20behaviors=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=88=90=E5=8F=AF=E9=80=89=E5=8F=82=E6=95=B0=EF=BC=8C=E5=B9=B6?= =?UTF-8?q?=E4=B8=8D=E6=98=AF=E6=89=80=E6=9C=89=E7=94=A8=E5=88=B0=E7=9A=84?= =?UTF-8?q?=E5=9C=B0=E6=96=B9=E9=83=BD=E9=9C=80=E8=A6=81doredmark?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../combo/icontextvaluecombo/popup.icontextvalue.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/case/combo/icontextvaluecombo/popup.icontextvalue.js b/src/case/combo/icontextvaluecombo/popup.icontextvalue.js index 13813a5156..424b0dd806 100644 --- a/src/case/combo/icontextvaluecombo/popup.icontextvalue.js +++ b/src/case/combo/icontextvaluecombo/popup.icontextvalue.js @@ -4,7 +4,12 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, { _defaultConfig: function () { return BI.extend(BI.IconTextValueComboPopup.superclass._defaultConfig.apply(this, arguments), { - baseCls: "bi-icon-text-icon-popup" + baseCls: "bi-icon-text-icon-popup", + behaviors: { + redmark: function () { + return true; + } + } }); }, @@ -24,11 +29,7 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, { layouts: [{ type: "bi.vertical" }], - behaviors: { - redmark: function () { - return true; - } - }, + behaviors: o.behaviors, value: o.value });