fix(types): Fixed the reference type error (#551)

This commit is contained in:
dodu2014 2024-07-19 18:12:29 +08:00 committed by Soybean
parent cf0192ad71
commit 3e2a993db8

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'
};