fix:修改格式
This commit is contained in:
parent
b6e3a71176
commit
d34cfbd93b
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue