From 94d8dcae695daabeb3f9d298ace370a2e8127f6a Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 22 十月 2024 11:42:23 +0800
Subject: [PATCH] 2024-10-22

---
 src/tabviews/zshare/actionList/normalbutton/index.jsx |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/tabviews/zshare/actionList/normalbutton/index.jsx b/src/tabviews/zshare/actionList/normalbutton/index.jsx
index b816257..aba982e 100644
--- a/src/tabviews/zshare/actionList/normalbutton/index.jsx
+++ b/src/tabviews/zshare/actionList/normalbutton/index.jsx
@@ -2938,7 +2938,7 @@
       tabId = btn.refreshTab[btn.refreshTab.length - 1]
     }
 
-    if (btn.excache === 'true') {
+    if (window.backend && btn.outerFunc && ['bd_workers_create_user_sso', 's_susers_del', 's_susers_add', 's_susers_update', 's_susers_start', 's_susers_admin'].includes(btn.outerFunc)) {
       this.clearBackSqlCache()
     }
 
@@ -3053,8 +3053,6 @@
   }
 
   clearBackSqlCache = () => {
-    if (!window.backend) return
-
     Api.cacheInterface({}).then(res => {
       if (!res.status) {
         notification.warning({

--
Gitblit v1.8.0