From a1b34fcc49cfeb7324cb7f4584380426ec6b092f Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 29 五月 2022 20:08:00 +0800 Subject: [PATCH] 2022-05-29 --- src/tabviews/zshare/actionList/funcMegvii/index.jsx | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/tabviews/zshare/actionList/funcMegvii/index.jsx b/src/tabviews/zshare/actionList/funcMegvii/index.jsx index 887a625..d2d9145 100644 --- a/src/tabviews/zshare/actionList/funcMegvii/index.jsx +++ b/src/tabviews/zshare/actionList/funcMegvii/index.jsx @@ -518,9 +518,13 @@ } else { type = '' icon = btn.icon || '' - label = (loadingNumber && !loadingTotal ? `(${loadingNumber})` : '') + btn.label + label = btn.label className = 'mk-btn mk-' + btn.class } + + if (loadingNumber && !loadingTotal && btn.$toolbtn && (!btn.show || btn.show === 'button')) { + label = (loadingNumber && !loadingTotal ? `(${loadingNumber})` : '') + btn.label + } return ( <> -- Gitblit v1.8.0