Преглед изворни кода

主子表表单编辑交互优化

wu пре 2 месеци
родитељ
комит
9f21caeaf8
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/components/Generator/components/InputTable/index.vue

+ 1 - 1
src/components/Generator/components/InputTable/index.vue

@@ -773,7 +773,7 @@ export default {
       if (!Array.isArray(this.tableFormData)) {
         this.tableFormData = []
       }
-      this.tableFormData.unshift(this.getEmptyRow(val, flag,relationFlag))
+      this.tableFormData.push(this.getEmptyRow(val, flag,relationFlag))
       if (!createFlag){
         this.clearAddRowFlag(index)
       }