浏览代码

no message

linwenxin 3 月之前
父节点
当前提交
f5def5ae9f
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/views/workOrder/qualityFeedback/index.vue

+ 2 - 1
src/views/workOrder/qualityFeedback/index.vue

@@ -487,7 +487,8 @@ export default {
               this.formData.smallName =
                 this.classifyListLv2
                   .filter(item => item.parentId === this.formData.mainId)
-                  .map((v, i) => ({ value: v.categoryId, label: v.name }))?.label || ''
+                  .map((v, i) => ({ value: v.categoryId, label: v.name }))
+                  .find(item => item.value === val)?.label || ''
             }
           }
         },