refactor(路由): 统一将路由路径从/ckbox更改为/pc

更新用户登录后跳转路径和导航菜单中的路由路径,从/ckbox/weChat改为/pc/weChat,/ckbox/dashboard改为/pc/dashboard,保持路由命名一致性
This commit is contained in:
2025-09-11 18:02:30 +08:00
parent f6b0e7b0d9
commit caa57b3e8b
3 changed files with 9 additions and 12 deletions

View File

@@ -69,7 +69,7 @@ export const useUserStore = createPersistStore<UserState>(
set({ user, token, isLoggedIn: true });
Toast.show({ content: "登录成功", position: "top" });
window.location.href = "/ckbox/weChat";
window.location.href = "/pc/weChat";
},
login2: token2 => {
localStorage.setItem("token2", token2);