文档服务地址:http://47.92.0.57:3000/ 周报索引地址:http://47.92.0.57:3000/s/NruNXRYmV

Commit 1c563543 by 李严凡

创建模板参数修改2

parent d21e62cd
...@@ -595,7 +595,7 @@ ...@@ -595,7 +595,7 @@
} }
else{ else{
this.dynamicValidateForm.layerDomains[0].fileList.push({name:"默认文件",url:"默认路径",size:2333}); this.dynamicValidateForm.layerDomains[0].fileList.push({name:"默认文件",url:"默认路径",size:2333});
console.log(this.dynamicValidateForm.layerDomains[0].fileList); // console.log(this.dynamicValidateForm.layerDomains[0].fileList);
} }
},200); },200);
}, },
...@@ -1058,7 +1058,7 @@ ...@@ -1058,7 +1058,7 @@
}, },
url:'textAnnotation/deleteTemplate', url:'textAnnotation/deleteTemplate',
}).then(res=>{ }).then(res=>{
console.log(res.return_code); // console.log(res.return_code);
if(res.return_code == 200){ if(res.return_code == 200){
this.$message({ this.$message({
type: 'success', type: 'success',
...@@ -1067,7 +1067,10 @@ ...@@ -1067,7 +1067,10 @@
this.pOptions.splice(index,1); this.pOptions.splice(index,1);
} }
else{ else{
alert("未知错误,删除失败"); this.$message({
type: 'info',
message: '删除失败!'
});
} }
}); });
}).catch(() => { }).catch(() => {
...@@ -1076,7 +1079,7 @@ ...@@ -1076,7 +1079,7 @@
message: '已取消删除' message: '已取消删除'
}); });
}); });
console.log(this.pOptions); // console.log(this.pOptions);
}, },
checkTemplate(){ checkTemplate(){
this.templateVisible=true; this.templateVisible=true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment