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

This commit is contained in:
dodu2014 2024-07-19 18:12:29 +08:00 committed by GitHub
parent c7ab61bbd4
commit c0303a8637
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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