Browse Source

BI-153053 fix: 展开的加载按钮异常

master
Jimmy.Chai 4 months ago
parent
commit
5c0d4a81c9
  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