perf: 版本文案

This commit is contained in:
archer
2023-04-03 00:48:56 +08:00
parent 56ba6fa5f7
commit 677e61416d
7 changed files with 15 additions and 15 deletions

View File

@@ -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>
)
},