mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-09-17 17:26:38 +08:00
fix(types): Fixed the reference type error (#551)
This commit is contained in:
parent
cf0192ad71
commit
3e2a993db8
@ -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'
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user