소스 검색

优化计算

zhengnaiwen_citu 3 달 전
부모
커밋
30bb869712
1개의 변경된 파일9개의 추가작업 그리고 7개의 파일을 삭제
  1. 9 7
      src/views/dataGovernance/dataResource/components/editBase.vue

+ 9 - 7
src/views/dataGovernance/dataResource/components/editBase.vue

@@ -251,13 +251,15 @@ export default {
       if (!this.$refs.form.validate()) {
         return
       }
-      return this.formItems.options.reduce((res, item) => {
-        if (item.hide) {
-          return res
-        }
-        res[item.key] = item.value
-        return res
-      }, {})
+      return this.formValues
+
+      // return this.formItems.reduce((res, item) => {
+      //   if (item.hide) {
+      //     return res
+      //   }
+      //   res[item.key] = item.value
+      //   return res
+      // }, {})
     }
   }
 }