tangning 4 mesi fa
parent
commit
55570627ae
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/store/system.ts

+ 1 - 1
src/store/system.ts

@@ -31,8 +31,8 @@ const refreshUserInfo = async (data: any) => {
 
 export const login = async (props: LoginProps) => {
   const res = await axios.post(userLogin, {
-    ...props,
     deptId: appConstant.deptId,
+    ...props,
     password: encodePwd(props.password),
   });
   user.value.token = res.data.token;