|
@@ -47,7 +47,7 @@
|
|
ImageExtend: {
|
|
ImageExtend: {
|
|
loading: true,
|
|
loading: true,
|
|
name: 'upfile',
|
|
name: 'upfile',
|
|
- action: config.promptServer,
|
|
|
|
|
|
+ action: config.urls.promptServer,
|
|
response: (res) => {
|
|
response: (res) => {
|
|
return config.imgHost+res.url;
|
|
return config.imgHost+res.url;
|
|
}
|
|
}
|
|
@@ -116,7 +116,7 @@
|
|
let data = this.form;
|
|
let data = this.form;
|
|
let pst=this.form.position;
|
|
let pst=this.form.position;
|
|
pst = typeof pst=='string'?pst:pst.join(',');
|
|
pst = typeof pst=='string'?pst:pst.join(',');
|
|
- data = Object.assign({},data,{position:this.form.position?pst:'',orderNo:this.index});
|
|
|
|
|
|
+ data = Object.assign({},data,{position:this.form.position?pst:'',orderNo:this.index,text:''});
|
|
this.$emit("change",this.index,data);
|
|
this.$emit("change",this.index,data);
|
|
}
|
|
}
|
|
}
|
|
}
|