This commit is contained in:
曹辉 2023-05-09 10:59:21 +08:00
parent c37e63cd92
commit 7f41181aa7

View File

@ -219,11 +219,15 @@ export default {
};
},
handleAvatarSuccess(res, file) {
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;
},
//