fix: enum下拉不显示的bug需parseInt

This commit is contained in:
caoqianming 2024-04-25 00:23:04 +08:00
parent 4b8347185a
commit 0b3531131c
1 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ export const productTypeEnum = new EnumFactory({
50: '加工工具',
60: '辅助工装',
70: '办公用品',
})
}, parseInt)
export const eqTypeEnum = new EnumFactory({
10: { text: '生产设备', type: 'success' },
20: { text: '计量设备', type: 'primary' },
@ -104,4 +104,4 @@ export const iMEnum = new EnumFactory({
10: '单开为开/单停为停',
20: '单开为开/都停为停',
30: '都开为开/单停为停',
})
}, parseInt)