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(","),
   });
 };