From edb0e46d54ca18886bc30dc0438f79368587a98f Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Thu, 18 Jun 2020 19:48:03 +0800 Subject: [PATCH] =?UTF-8?q?BI-66973=20fix:=20color-chooser=E7=9A=84?= =?UTF-8?q?=E5=8E=86=E5=8F=B2=E8=AE=B0=E5=BD=95=E6=B2=A1=E6=9C=89=E9=80=89?= =?UTF-8?q?=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- changelog.md | 1 + src/case/colorchooser/colorchooser.popup.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/changelog.md b/changelog.md index 94265b24d..c17a004e8 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,6 @@ # 更新日志 2.0(2020-06) +- 修复了选色控件历史记录没有选中的问题的问题 - 修复了单选下拉框新增值的时候没有发事件的问题 - 修复了单选标红combo类setValue为空字符串会标红的问题 - BI.history提供与注册路由对应的卸载路由方法unRoute diff --git a/src/case/colorchooser/colorchooser.popup.js b/src/case/colorchooser/colorchooser.popup.js index 7781980cd..52f0af038 100644 --- a/src/case/colorchooser/colorchooser.popup.js +++ b/src/case/colorchooser/colorchooser.popup.js @@ -216,6 +216,8 @@ BI.ColorChooserPopup = BI.inherit(BI.Widget, { setStoreColors: function (colors) { if (BI.isArray(colors)) { this.storeColors.populate([this._digestStoreColors(colors)]); + // BI-66973 选中颜色的同时选中历史 + this.storeColors.setValue(this.getValue()); } },