소스 검색

恢复线上

wangfumin 1 개월 전
부모
커밋
dfcc024c5f
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      src/store/user.ts

+ 0 - 2
src/store/user.ts

@@ -93,10 +93,8 @@ export const addUser = async (
   params: Omit<UserInfo, "id">,
   deptPath: string[]
 ) => {
-  const password = encodePwd(params.password);
   await axios.post(userAdd, {
     ...params,
-    password,
     deptIdList: deptPath.join(","),
   });
 };