浏览代码

恢复线上

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">,
   params: Omit<UserInfo, "id">,
   deptPath: string[]
   deptPath: string[]
 ) => {
 ) => {
-  const password = encodePwd(params.password);
   await axios.post(userAdd, {
   await axios.post(userAdd, {
     ...params,
     ...params,
-    password,
     deptIdList: deptPath.join(","),
     deptIdList: deptPath.join(","),
   });
   });
 };
 };