修改
This commit is contained in:
parent
c37e63cd92
commit
7f41181aa7
@ -219,11 +219,15 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
handleAvatarSuccess(res, file) {
|
handleAvatarSuccess(res, file) {
|
||||||
this.video.VideoPath = process.env.VUE_APP_BASE_API + res.imgUrl;
|
if (res.code == 200) {
|
||||||
this.items.itemDirectoryUrl = res.imgUrl;
|
this.video.VideoPath = process.env.VUE_APP_BASE_API + res.imgUrl;
|
||||||
this.$emit("item", JSON.stringify(this.items));
|
this.items.itemDirectoryUrl = res.imgUrl;
|
||||||
this.$modal.msgSuccess("上传视频成功");
|
this.$emit("item", JSON.stringify(this.items));
|
||||||
this.openimg = false;
|
this.$modal.msgSuccess("上传视频成功");
|
||||||
|
this.openimg = false;
|
||||||
|
} else {
|
||||||
|
this.$message.error(res.msg);
|
||||||
|
}
|
||||||
this.uploadbtn = true;
|
this.uploadbtn = true;
|
||||||
},
|
},
|
||||||
// 上传图片
|
// 上传图片
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user