zh 2 лет назад
Родитель
Сommit
e5c8d407f1
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/layout/components/Navbar.vue

+ 1 - 0
src/layout/components/Navbar.vue

@@ -731,6 +731,7 @@ export default {
     },
     handleChangeArea(changeNum) {
       setUserChanging({ changeNum }).then(res => {
+        this.$router.replace(this.$route.fullPath)
         this.$successMsg('切换成功')
       })
     }