From 2ed2188bb01fa321177125917102e5f664497d2a Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 12 八月 2020 16:41:25 +0800
Subject: [PATCH] 2020-08-12

---
 src/tabviews/zshare/settingcomponent/index.jsx |   15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/src/tabviews/zshare/settingcomponent/index.jsx b/src/tabviews/zshare/settingcomponent/index.jsx
index 8acead5..14f627a 100644
--- a/src/tabviews/zshare/settingcomponent/index.jsx
+++ b/src/tabviews/zshare/settingcomponent/index.jsx
@@ -120,12 +120,15 @@
         })
         return
       }
-      this.setState({
-        visible: false,
-        confirmLoading: false
-      }, () => {
-        window.GLOB.CacheMap = new Map()
-        this.props.reloadview()
+
+      Api.deleteMenuStorage(this.props.MenuID).then(() => {
+        this.setState({
+          visible: false,
+          confirmLoading: false
+        }, () => {
+          window.GLOB.CacheMap = new Map()
+          this.props.reloadview()
+        })
       })
     })
   }

--
Gitblit v1.8.0