diff --git a/src/utils/enum.js b/src/utils/enum.js index 49ede02c..3ac712fa 100644 --- a/src/utils/enum.js +++ b/src/utils/enum.js @@ -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: '都开为开/单停为停', -}) \ No newline at end of file +}, parseInt) \ No newline at end of file