fix: enum下拉不显示的bug需parseInt
This commit is contained in:
parent
4b8347185a
commit
0b3531131c
|
|
@ -79,7 +79,7 @@ export const productTypeEnum = new EnumFactory({
|
||||||
50: '加工工具',
|
50: '加工工具',
|
||||||
60: '辅助工装',
|
60: '辅助工装',
|
||||||
70: '办公用品',
|
70: '办公用品',
|
||||||
})
|
}, parseInt)
|
||||||
export const eqTypeEnum = new EnumFactory({
|
export const eqTypeEnum = new EnumFactory({
|
||||||
10: { text: '生产设备', type: 'success' },
|
10: { text: '生产设备', type: 'success' },
|
||||||
20: { text: '计量设备', type: 'primary' },
|
20: { text: '计量设备', type: 'primary' },
|
||||||
|
|
@ -104,4 +104,4 @@ export const iMEnum = new EnumFactory({
|
||||||
10: '单开为开/单停为停',
|
10: '单开为开/单停为停',
|
||||||
20: '单开为开/都停为停',
|
20: '单开为开/都停为停',
|
||||||
30: '都开为开/单停为停',
|
30: '都开为开/单停为停',
|
||||||
})
|
}, parseInt)
|
||||||
Loading…
Reference in New Issue