perf: 版本文案
This commit is contained in:
@@ -141,6 +141,7 @@ const ModelDataCard = ({ model }: { model: ModelSchema }) => {
|
||||
mr={2}
|
||||
size={'sm'}
|
||||
isLoading={isLoadingExport}
|
||||
title={'v2.3之前版本的数据无法导出'}
|
||||
onClick={() => onclickExport()}
|
||||
>
|
||||
导出
|
||||
|
||||
@@ -42,12 +42,12 @@ const ModelTable = ({
|
||||
dataIndex: 'status',
|
||||
render: (item: ModelSchema) => (
|
||||
<Tag
|
||||
colorScheme={formatModelStatus[item.status].colorTheme}
|
||||
colorScheme={formatModelStatus[item.status]?.colorTheme}
|
||||
variant="solid"
|
||||
px={3}
|
||||
size={'md'}
|
||||
>
|
||||
{formatModelStatus[item.status].text}
|
||||
{formatModelStatus[item.status]?.text}
|
||||
</Tag>
|
||||
)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user