fix(types): Fixed the reference type error

This commit is contained in:
tnt group 2024-07-14 23:01:48 +08:00
parent a454b620f1
commit 67355946d7

View File

@ -37,7 +37,7 @@ const { columns, columnChecks, data, loading, pagination, getData, getDataByPage
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'
};