fix:修改格式

This commit is contained in:
wenyann 2021-06-02 19:22:22 +08:00 committed by 刘瑞斌
parent b6e3a71176
commit d34cfbd93b
1 changed files with 0 additions and 2 deletions

View File

@ -618,7 +618,6 @@
buildParam() { buildParam() {
let param = {}; let param = {};
Object.assign(param, this.form); Object.assign(param, this.form);
console.log(param);
param.steps = JSON.stringify(this.form.steps); param.steps = JSON.stringify(this.form.steps);
param.nodeId = this.form.module; param.nodeId = this.form.module;
param.nodePath = getNodePath(this.form.module, this.moduleOptions); param.nodePath = getNodePath(this.form.module, this.moduleOptions);
@ -668,7 +667,6 @@
}*/ }*/
let formData = new FormData(); let formData = new FormData();
//let url = '/test/case/' + type; //let url = '/test/case/' + type;
console.log(this.$refs.otherInfo);
if (this.$refs.otherInfo && this.$refs.otherInfo.uploadList) { if (this.$refs.otherInfo && this.$refs.otherInfo.uploadList) {
this.$refs.otherInfo.uploadList.forEach(f => { this.$refs.otherInfo.uploadList.forEach(f => {
formData.append("file", f); formData.append("file", f);