From 044a4ec4ebe85f8c00e889fe3914de17a6ea1f28 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 17 十月 2024 18:18:01 +0800
Subject: [PATCH] 2024-10-17

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

diff --git a/src/tabviews/zshare/actionList/normalbutton/index.jsx b/src/tabviews/zshare/actionList/normalbutton/index.jsx
index eb53b14..1f858e6 100644
--- a/src/tabviews/zshare/actionList/normalbutton/index.jsx
+++ b/src/tabviews/zshare/actionList/normalbutton/index.jsx
@@ -307,16 +307,16 @@
       }
     }
 
-    // if (window.GLOB.systemType === 'production') {
-    //   let _change = {
-    //     prompt: '鎻愮ず妗�',
-    //     exec: '鐩存帴鎵ц',
-    //     pop: '寮圭獥锛堣〃鍗曪級',
-    //     formSubmit: '琛ㄥ崟',
-    //     form: '琛ㄥ崟',
-    //   }
-    //   MKEmitter.emit('queryTrigger', {menuId: btn.uuid, name: _change[btn.OpenType]})
-    // }
+    if (window.GLOB.systemType === 'production') {
+      let _change = {
+        prompt: '鎻愮ず妗�',
+        exec: '鐩存帴鎵ц',
+        pop: '寮圭獥锛堣〃鍗曪級',
+        formSubmit: '琛ㄥ崟',
+        form: '琛ㄥ崟',
+      }
+      MKEmitter.emit('queryTrigger', {menuId: btn.uuid, name: _change[btn.OpenType]})
+    }
   }
 
   preTrigger = (callback) => {
@@ -2771,7 +2771,7 @@
   clearBackCache = () => {
     if (!window.GLOB.backend) return
 
-    Api.cacheInterface({}).then(res => {
+    Api.cacheInterface({userid: sessionStorage.getItem('UserID') || '', LoginUID: sessionStorage.getItem('LoginUID') || ''}).then(res => {
       if (!res.status) {
         notification.warning({
           top: 92,
@@ -2779,7 +2779,11 @@
           duration: 5
         })
       } else if (window.GLOB.localSystemApi) {
-        Api.cacheInterface({rduri: window.GLOB.localSystemApi.replace('dostars', 'excache')}).then(result => {
+        Api.cacheInterface({
+          userid: sessionStorage.getItem('LocalUserID') || sessionStorage.getItem('UserID') || '',
+          LoginUID: sessionStorage.getItem('LocalLoginUID') || sessionStorage.getItem('LoginUID') || '',
+          rduri: window.GLOB.localSystemApi.replace('dostars', 'excache')
+        }).then(result => {
           if (!result.status) {
             notification.warning({
               top: 92,

--
Gitblit v1.8.0