Browse Source

feat(records): typo

gemercheung 1 năm trước cách đây
mục cha
commit
f0e3f07cfe
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  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),