src/constant/device-type.js
@@ -30,6 +30,10 @@ { label: '无人船', value: '0c' }, { label: '网格化', value: '0d' } ]; } @@ -61,4 +65,8 @@ } } export { TYPE0, TYPE1, TYPE2, TYPE3, TYPE4, typeList, deviceList }; function typeName(type) { return typeList().find((v) => v.value == type).label; } export { TYPE0, TYPE1, TYPE2, TYPE3, TYPE4, typeList, typeName, deviceList };