Kaynağa Gözat

恢复线上

wangfumin 1 ay önce
ebeveyn
işleme
dfcc024c5f
1 değiştirilmiş dosya ile 0 ekleme ve 2 silme
  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(","),
   });
 };