更新页面
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user