fix: ui
This commit is contained in:
@@ -50,6 +50,7 @@ export type SelectProps<T = any> = Omit<ButtonProps, 'onChange'> & {
|
||||
showBorder?: boolean;
|
||||
}[];
|
||||
isLoading?: boolean;
|
||||
showAvatar?: boolean;
|
||||
onChange?: (val: T) => any | Promise<any>;
|
||||
ScrollData?: ReturnType<typeof useScrollPagination>['ScrollData'];
|
||||
customOnOpen?: () => void;
|
||||
@@ -79,6 +80,7 @@ const MySelect = <T = any,>(
|
||||
list = [],
|
||||
onChange,
|
||||
isLoading = false,
|
||||
showAvatar = true,
|
||||
ScrollData,
|
||||
customOnOpen,
|
||||
customOnClose,
|
||||
@@ -255,7 +257,7 @@ const MySelect = <T = any,>(
|
||||
/>
|
||||
) : (
|
||||
<>
|
||||
{selectItem?.icon && (
|
||||
{selectItem?.icon && showAvatar && (
|
||||
<Avatar
|
||||
mr={2}
|
||||
src={selectItem.icon as any}
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
"image_upload": "Image upload",
|
||||
"no_gate_available": "No portal available",
|
||||
"no_gate_to_delete": "There is no gate to delete",
|
||||
"quick_app": "Quick Application",
|
||||
"slogan": "slogan",
|
||||
"status": "state",
|
||||
"suggestion_ratio_1_1": "Suggested ratio 1:1",
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
"image_upload": "图片上传",
|
||||
"no_gate_available": "没有可用门户",
|
||||
"no_gate_to_delete": "没有可以删除的门户了",
|
||||
"quick_app": "快捷应用",
|
||||
"slogan": "标语",
|
||||
"status": "状态",
|
||||
"suggestion_ratio_1_1": "建议比例 1:1",
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
"image_upload": "圖片上傳",
|
||||
"no_gate_available": "沒有可用門戶",
|
||||
"no_gate_to_delete": "沒有可以刪除的門戶了",
|
||||
"quick_app": "快捷應用",
|
||||
"slogan": "標語",
|
||||
"status": "狀態",
|
||||
"suggestion_ratio_1_1": "建議比例 1:1",
|
||||
|
||||
Reference in New Issue
Block a user