From 7778cbbc0dc3f72b9973701d08858566309fe329 Mon Sep 17 00:00:00 2001
From: yz_08 <yz_0812@outlook.com>
Date: 星期三, 17 三月 2021 03:24:51 +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