Browse Source

Pull request #284407: BI-153053 fix: 展开的加载按钮异常

Merge in DEC/fineui from ~JIMMY.CHAI/dec-fineui:feature/x to feature/x

* commit '5c0d4a81c9f2e8fcb86b82dda62fd93160e55b4c':
  BI-153053 fix: 展开的加载按钮异常
master
Jimmy.Chai-柴嘉明 5 months ago
parent
commit
b12fec6362
  1. 4
      packages/fineui/src/case/ztree/asynctree.js
  2. 7
      packages/fineui/src/less/base/tree/ztree.less

4
packages/fineui/src/case/ztree/asynctree.js

@ -221,15 +221,11 @@ export class AsyncTree extends TreeView {
{
el: {
type: IconLabel.xtype,
width: 20,
height: 20,
cls: "button-loading-font anim-rotate bi-card",
ref: ref => {
loadingIcon = ref;
},
},
left: 5,
top: 5,
},
],
});

7
packages/fineui/src/less/base/tree/ztree.less

@ -335,3 +335,10 @@
margin-right: 2px;
vertical-align: top;
}
.ztree .button-loading-font {
.use-scale(width, 20px);
.use-scale(height, 20px);
.use-scale(left, 5px);
.use-scale(top, 5px);
}
Loading…
Cancel
Save