Browse Source

Pull request #1910: KERNEL-7775 refactor: 树列表populate不需要刷新searcher

Merge in VISUAL/fineui from ~WINDY/fui:master to master

* commit 'c8b456966abb8aacc581470f00531a20961bba35':
  补充声明
  BI-86802 文本域光标在水印处显示的不是输入状态
  KERNEL-7775 refactor: 树列表populate不需要刷新searcher
master
windy 4 years ago
parent
commit
97ee0841f3
  1. 3
      changelog.md
  2. 2
      src/less/base/single/editor/editor.textarea.less
  3. 1
      src/widget/multiselecttree/multiselecttree.js
  4. 10
      typescript/core/widget.ts

3
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列宽度

2
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%;

1
src/widget/multiselecttree/multiselecttree.js

@ -164,7 +164,6 @@ BI.MultiSelectTree = BI.inherit(BI.Single, {
},
populate: function () {
this.searcher.populate();
this.adapter.populate();
}
});

10
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方法
*/

Loading…
Cancel
Save