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

This commit is contained in:
xiaozhu
2026-09-02 10:10:41 +08:00
committed by tao.chen
parent 5a90f7db36
commit b7b8e28b52
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);