ZaiZai vor 1 Jahr
Ursprung
Commit
32ac5abc59

+ 3 - 3
src/views/manager/projectinfo/treeTemplate/template/editDefault.vue

@@ -88,7 +88,7 @@ export default {
           message: "请先选择元素"
         });
         return;
-      
+
       }else if(this.htmlData1.name === '警告' ){
         this.$message({
             type: "warning",
@@ -133,10 +133,10 @@ export default {
 // }else{
 //   this.$message.warning('一个字段只能配置一个默认信息')
 // }
-    
+
     },
     async deleteTableSig (ids) {//删除数据
-      const {data: res} = await remove(ids);
+      const {data: res} = await remove(ids, this.pkeyId1);
       this.getSingInfo();
       if (res.code === 200) {
         this.$message({

+ 3 - 3
src/views/manager/projectinfo/treeTemplate/template/promptSettings.vue

@@ -140,11 +140,11 @@ export default {
       // else{
       //   this.$message.warning('一个字段只能配置一个提示信息')
       // }
- 
+
     },
     async deleteTableSig(ids) {//删除数据
     //  this.setsignaTable.splice(key, 1);
-      const {data: res} = await remove(ids);
+      const {data: res} = await remove(ids, this.pkeyId1);
       this.getSingInfo();
       if (res.code === 200) {
         this.$message({
@@ -180,4 +180,4 @@ export default {
   user-select:initial !important;
 }
 
-</style>
+</style>