update:添加分页、成员添加优化

This commit is contained in:
xiaozhu
2026-08-31 15:41:06 +08:00
parent cc38bb1575
commit a4dd317828
20 changed files with 1729 additions and 920 deletions
@@ -367,8 +367,8 @@ export const useAdminStore = create<State & Actions>((set, get) => ({
const api = requireApi();
set({ projectsLoading: true });
try {
const list = await api.listWorkspaces();
set({ projects: list });
const page = await api.listWorkspaces({ limit: 10 });
set({ projects: page.items });
onConnectionChange(true);
} catch (error) {
onConnectionChange(false);