diff --git a/changelog.md b/changelog.md index 5373793127..7ed2f1f39c 100644 --- a/changelog.md +++ b/changelog.md @@ -1,4 +1,7 @@ # 更新日志 +2.0(2021-05) +- 解决了树列表populate调用两次itemsCreator的问题 + 2.0(2021-03) - 优化left_right_vertical_adapt布局,去掉float属性只使用flex - inline布局支持用calc计算fill列宽度 diff --git a/src/less/base/single/editor/editor.textarea.less b/src/less/base/single/editor/editor.textarea.less index a95850abb0..bac545aacd 100644 --- a/src/less/base/single/editor/editor.textarea.less +++ b/src/less/base/single/editor/editor.textarea.less @@ -10,6 +10,8 @@ & { border: none; } + // BI-86802 div构造的水印移上去没有输入状态的光标,让编辑框层级比水印高一点 + z-index: 1; } & .textarea-watermark{ max-height: 100%; diff --git a/src/widget/multiselecttree/multiselecttree.js b/src/widget/multiselecttree/multiselecttree.js index 8654996c05..d48d562bf4 100644 --- a/src/widget/multiselecttree/multiselecttree.js +++ b/src/widget/multiselecttree/multiselecttree.js @@ -164,7 +164,6 @@ BI.MultiSelectTree = BI.inherit(BI.Single, { }, populate: function () { - this.searcher.populate(); this.adapter.populate(); } }); diff --git a/typescript/core/widget.ts b/typescript/core/widget.ts index d642150996..4c360b4003 100644 --- a/typescript/core/widget.ts +++ b/typescript/core/widget.ts @@ -380,6 +380,11 @@ export interface _Widget extends _OB { */ empty(): void; + /** + * 刷新控件 + */ + reset(): void; + /** * 内部destory方法 */ @@ -787,6 +792,11 @@ export declare class Widget extends OB { */ empty(): void; + /** + * 刷新控件 + */ + reset(): void; + /** * 内部destory方法 */