Browse Source

恢复线上

wangfumin 1 tháng trước cách đây
mục cha
commit
dfcc024c5f
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  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(","),
   });
 };