소스 검색

修改bug

lxr 2 달 전
부모
커밋
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",