lxr 2 месяцев назад
Родитель
Сommit
5a585914de
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      src/views/login/index.vue

+ 2 - 1
src/views/login/index.vue

@@ -999,7 +999,8 @@ const handleLogin = async () => {
         //   // 5.跳转到首页,使用 replace 避免历史记录问题
         //   await router.replace(HOME_URL);
         // }
-        await router.replace(HOME_URL);
+        // await router.replace(HOME_URL);
+        router.push("/home/index");
         ElNotification({
           title: "登录成功",
           type: "success",