彭景 11 months ago
parent
commit
36c6acdf89
1 changed files with 1 additions and 0 deletions
  1. 1 0
      h5app/src/App.vue

+ 1 - 0
h5app/src/App.vue

@@ -20,6 +20,7 @@ const user = ref(userStore.getUserInfo);
 
 if (user.value != null) {
   globalProperties.$routeActive = true;
+  router.push({path: "/login", query: {}})
 } else {
   let redirectUrl = "";