更新页面

This commit is contained in:
2025-09-25 12:21:06 +08:00
parent bcb8cfb3c0
commit 7e604afdce
3 changed files with 158 additions and 167 deletions

View File

@ -141,8 +141,7 @@ const handleLogin = () => {
loading.value = false;
// 登录后操作;
if (res.deptList.length === 1) {
router.push("/user/department-ist");
// window.location.href = "/";
window.location.href = "/";
} else {
deptList.value = [...res.deptList];
loginDialog.value = true;