|
@@ -5480,11 +5480,16 @@ export default {
|
|
|
// a.splice(a.length - 1, a.length);
|
|
|
_this.$message.error("上传失败");
|
|
|
} else {
|
|
|
- _this.cover.push({
|
|
|
+ // _this.cover.push({
|
|
|
+ // name: file.name,
|
|
|
+ // url: data.Location,
|
|
|
+ // uid: file.uid,
|
|
|
+ // });
|
|
|
+ _this.cover = [{
|
|
|
name: file.name,
|
|
|
url: data.Location,
|
|
|
uid: file.uid,
|
|
|
- });
|
|
|
+ }];
|
|
|
_this.imgChange1(null, null, 1, null);
|
|
|
_this.choosePicVisible = false;
|
|
|
console.log(data.Location);
|