From 5c0d4a81c9f2e8fcb86b82dda62fd93160e55b4c Mon Sep 17 00:00:00 2001 From: "Jimmy.Chai" Date: Mon, 29 Jul 2024 10:35:13 +0800 Subject: [PATCH] =?UTF-8?q?BI-153053=20fix:=20=E5=B1=95=E5=BC=80=E7=9A=84?= =?UTF-8?q?=E5=8A=A0=E8=BD=BD=E6=8C=89=E9=92=AE=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/fineui/src/case/ztree/asynctree.js | 4 ---- packages/fineui/src/less/base/tree/ztree.less | 7 +++++++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/packages/fineui/src/case/ztree/asynctree.js b/packages/fineui/src/case/ztree/asynctree.js index 7921ef821..7c6efe09c 100644 --- a/packages/fineui/src/case/ztree/asynctree.js +++ b/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, }, ], }); diff --git a/packages/fineui/src/less/base/tree/ztree.less b/packages/fineui/src/less/base/tree/ztree.less index e7869baae..4932e49ef 100644 --- a/packages/fineui/src/less/base/tree/ztree.less +++ b/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); +} \ No newline at end of file