fix(types): Fixed the reference type error

This commit is contained in:
tnt group 2024-07-15 16:54:17 +08:00
parent ef4af79a11
commit 2a8ebda0b9

View File

@ -47,7 +47,7 @@ const { columns, filteredColumns, data, loading, pagination, getData } = useTabl
align: 'center',
width: 80,
render: row => {
const tagMap: Record<Api.Common.EnableStatus, NaiveUI.ThemeColor> = {
const tagMap: Record<Api.SystemManage.MenuType, NaiveUI.ThemeColor> = {
1: 'default',
2: 'primary'
};