|
@@ -2146,9 +2146,13 @@ export default {
|
|
let _url = await this.uploadFile("image/*");
|
|
let _url = await this.uploadFile("image/*");
|
|
if (_url) {
|
|
if (_url) {
|
|
if (this.tagType == "admin-cocoFlow") {
|
|
if (this.tagType == "admin-cocoFlow") {
|
|
- this.form.admin.cocoFlow[index].setIcon = _url;
|
|
|
|
|
|
+ let _data = JSON.parse(JSON.stringify(this.form.admin.cocoFlow));
|
|
|
|
+ _data[index].setIcon = _url;
|
|
|
|
+ this.form.admin.cocoFlow = _data;
|
|
} else if (this.tagType == "admin-cocoFlow2") {
|
|
} else if (this.tagType == "admin-cocoFlow2") {
|
|
- this.form.admin.cocoFlow2[index].setIcon = _url;
|
|
|
|
|
|
+ let _data = JSON.parse(JSON.stringify(this.form.admin.cocoFlow2));
|
|
|
|
+ _data[index].setIcon = _url;
|
|
|
|
+ this.form.admin.cocoFlow2 = _data;
|
|
}
|
|
}
|
|
this.$forceUpdate();
|
|
this.$forceUpdate();
|
|
} else {
|
|
} else {
|