From fa855a79a71e83de4eab26779fb29e6c6f0c52a2 Mon Sep 17 00:00:00 2001
From: luoyb <412940104@qq.com>
Date: 星期三, 17 三月 2021 03:37:45 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/layout/components/Navbar.vue |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue
index 43a4550..a850e20 100644
--- a/src/layout/components/Navbar.vue
+++ b/src/layout/components/Navbar.vue
@@ -104,7 +104,9 @@
       }).then(() => {
         db.remove('USER_ROUTER')
         db.remove('PERMISSIONS')
-        location.reload()
+        this.$get('system/dic/deleteCache').then((r) => {
+          location.reload()
+        })
       }).catch(() => {
         // do nothing
       })

--
Gitblit v1.8.0