소스 검색

完善巡检

408249787 3 년 전
부모
커밋
6e819eaa21
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      src/views/fill/gather/modules/BaseForm.vue

+ 1 - 3
src/views/fill/gather/modules/BaseForm.vue

@@ -161,9 +161,7 @@ export default {
       this.modalTitle = '编辑'
       const { form: { setFieldsValue } } = this
       // 日期处理
-      record.infoIds = record.fillInfos.map(res => {
-        return res.id
-      })
+      record.infoIds = record.fillInfos.map(res => res.id)
       this.$nextTick(() => {
         setFieldsValue(Object.assign(pick(record, [
           'id',