fix: align scope picker with catalog toolbar

This commit is contained in:
yuxuanhui
2026-09-12 13:21:08 +08:00
parent 8981c24fda
commit ed349693db
6 changed files with 78 additions and 17 deletions
@@ -70,6 +70,7 @@ export function CatalogTableToolbar({
label,
active = true,
filterCount = 0,
scope,
filters,
onApply,
onReset,
@@ -82,6 +83,7 @@ export function CatalogTableToolbar({
label: string;
active?: boolean;
filterCount?: number;
scope?: ReactNode;
filters: ReactNode;
onApply: () => void;
onReset: () => void;
@@ -149,6 +151,7 @@ export function CatalogTableToolbar({
role="toolbar"
aria-label={`${label}表格工具栏`}
>
{scope}
<div className="catalog-toolbar-tools">
{popup(
"filter",