feat: admin apikeys

This commit is contained in:
jialin
2026-04-17 20:35:16 +08:00
committed by jialin
parent f45d9bda61
commit 2d726ded30
8 changed files with 114 additions and 36 deletions
+5 -1
View File
@@ -129,6 +129,9 @@ interface FilterBarProps {
onClick: () => void;
onClear: () => void;
};
select?: {
showSearch?: boolean;
};
widths?: {
input?: number;
select?: number;
@@ -148,6 +151,7 @@ export const FilterBar: React.FC<FilterBarProps> = (props) => {
showSelect,
buttonText,
buttonIcon,
select,
actionType = 'button',
marginBottom = 10,
marginTop = 10,
@@ -189,7 +193,7 @@ export const FilterBar: React.FC<FilterBarProps> = (props) => {
{showSelect && (
<BaseSelect
allowClear
showSearch={false}
showSearch={select?.showSearch}
placeholder={selectHolder}
style={{ width: widths?.select || 230 }}
size="large"