浏览代码

feat(records): typo

gemercheung 1 年之前
父节点
当前提交
f0e3f07cfe
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/request/organization.ts
  2. 1 1
      src/request/users.ts

+ 1 - 1
src/request/organization.ts

@@ -1,4 +1,4 @@
-import { sendFetch, PageProps, UserType } from './index'
+import { sendFetch, PageProps } from './index'
 import { ResPage, ResResult } from './type'
 import { organizationTypeEnum } from '@/store/organization'
 import * as URL from "./URL";

+ 1 - 1
src/request/users.ts

@@ -33,7 +33,7 @@ export const getUserpageFetch = (params: any) =>
     });
 
 
-export const addUserFetch = (params: Pick<UserType, 'orgId' | 'userName' | 'nickName' | 'password'>) =>
+export const addUserFetch = (params: any) =>
     sendFetch<ResPage<PageProps<UserType>>>(URL.addUser, {
         method: "post",
         body: JSON.stringify(params),