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