This commit is contained in:
lcw
2025-09-26 12:56:52 +08:00
parent 204a199990
commit 2bed0ee326
503 changed files with 37423 additions and 1132 deletions

View File

@ -141,7 +141,8 @@ const handleLogin = () => {
loading.value = false;
// 登录后操作;
if (res.deptList.length === 1) {
window.location.href = "/";
router.push("/");
// window.location.href = "/";
} else {
deptList.value = [...res.deptList];
loginDialog.value = true;
@ -164,7 +165,7 @@ const logout = () => {
onMounted(() => { });
const getKaptchaImg = () => {
const res =
`${process.env.VUE_APP_GATEWAY_BASE_URL}/mosty-base/kaptcha?date=` +
`${process.env.VUE_APP_GATEWAY_BASE_URL}/bagl/mosty-base/kaptcha?date=` +
new Date();
kaptchaUrl.value = res;
};