update:css样式拆分

This commit is contained in:
xiaozhu
2026-09-02 10:10:41 +08:00
committed by tao.chen
parent ef0000ebe5
commit f452ba70fb
27 changed files with 1404 additions and 3059 deletions
@@ -194,7 +194,6 @@ type Actions = {
importMembers: (
workspace: Workspace,
user_ids: string[],
role_code: "admin" | "developer",
onNotify: (n: Notice) => void,
) => Promise<void>;
};
@@ -453,14 +452,13 @@ export const useAdminStore = create<State & Actions>((set, get) => ({
}
},
importMembers: async (workspace, user_ids, role_code, onNotify) => {
importMembers: async (workspace, user_ids, onNotify) => {
const api = requireApi();
try {
await Promise.all(
user_ids.map((uid) =>
api.addWorkspaceMember(workspace.workspace_id, {
user_id: uid,
role_code,
}),
),
);