浏览代码

表单调整修改

duy 1 年之前
父节点
当前提交
a127716783
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/manager/projectinfo/treeTemplate/template/setInputTPT.vue

+ 2 - 2
src/views/manager/projectinfo/treeTemplate/template/setInputTPT.vue

@@ -336,7 +336,7 @@ export default {
             }
             console.log(dateFormat,'dateFormat');
             if(this.checkList.length===0){
-                  this.saveInput({
+                  this.saveInput([{
                     trIndex: this.htmlData.tr,
                     tdIndex: this.htmlData.td,
                     tableId: this.pkeyId,
@@ -344,7 +344,7 @@ export default {
                     type: '1',
                     textInfo: this.setInputTable,
                     dateFormat:dateFormat
-                })
+                }])
             }else if(this.checkList.length>0){
               let arr=[]
               this.checkList.forEach((ele)=>{