tangning 4 달 전
부모
커밋
55570627ae
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;