Explorar el Código

巡检类别修改

duy hace 1 año
padre
commit
3dbc3bdd3b
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      src/views/patrol/add.vue

+ 3 - 0
src/views/patrol/add.vue

@@ -311,6 +311,9 @@ const getTypeOptions = async () => {
     })
     //处理数据
     typeOptions.value = getArrValue(data)
+    typeOptions.value.forEach((ele)=>{
+        ele.dictKey = Number(ele.dictKey)
+    })
 }
 const tableColumn = ref([
 { key: 'inspectProject', name: '检查项目' },