更新页面

This commit is contained in:
2025-12-17 18:46:32 +08:00
parent c0237acfff
commit 7853672770
8 changed files with 198 additions and 68 deletions

View File

@ -88,7 +88,6 @@ export default {
return new Promise((resolve, reject) => {
login({ userName, password: Base64.encode(password), kaptcha }).then((data) => {
if (data.deptList.length === 1) {
this.commit("user/setToken", data.jwtToken);
this.commit("user/setDeptId", data.deptList);
this.commit("user/setUserName", data.userName);