tmp org api rewrite (#4304)

* sync collection

* remove lock

* tmp org api rewrite
This commit is contained in:
Archer
2025-03-25 09:57:19 +08:00
committed by archer
parent 5a47af6fff
commit 826a53dcb6
13 changed files with 66 additions and 99 deletions

View File

@@ -21,7 +21,7 @@ import type React from 'react';
import { useEffect, useMemo, useState } from 'react';
import { useContextSelector } from 'use-context-selector';
import { TeamContext } from '../context';
import { OrgType } from '@fastgpt/global/support/user/team/org/type';
import { OrgListItemType, OrgType } from '@fastgpt/global/support/user/team/org/type';
import { useScrollPagination } from '@fastgpt/web/hooks/useScrollPagination';
export type GroupFormType = {
@@ -46,7 +46,7 @@ function OrgMemberManageModal({
refetchOrgs,
onClose
}: {
currentOrg: OrgType;
currentOrg: OrgListItemType;
refetchOrgs: () => void;
onClose: () => void;
}) {