修改提交

This commit is contained in:
曹辉 2023-05-04 16:04:02 +08:00
parent b93bc6c52b
commit 8ca4a52e6a

View File

@ -123,8 +123,9 @@ export default {
this.uploadbtn = true; this.uploadbtn = true;
this.filedata.type = this.type; this.filedata.type = this.type;
this.items = this.item; this.items = this.item;
this.videoForm.showVideoPath = process.env.VUE_APP_BASE_API + this.tovideo;
if (this.tovideo) { if (this.tovideo) {
this.videoForm.showVideoPath =
process.env.VUE_APP_BASE_API + this.tovideo;
this.video.VideoPath = process.env.VUE_APP_BASE_API + this.tovideo; this.video.VideoPath = process.env.VUE_APP_BASE_API + this.tovideo;
} }
this.title = "上传视频"; this.title = "上传视频";
@ -133,9 +134,11 @@ export default {
tovideo: { tovideo: {
handler(newimg, oldimg) { handler(newimg, oldimg) {
this.uploadbtn = true; this.uploadbtn = true;
this.videoForm.showVideoPath = if (this.tovideo) {
process.env.VUE_APP_BASE_API + this.tovideo; this.videoForm.showVideoPath =
this.video.VideoPath = process.env.VUE_APP_BASE_API + this.tovideo; process.env.VUE_APP_BASE_API + this.tovideo;
this.video.VideoPath = process.env.VUE_APP_BASE_API + this.tovideo;
}
} }
}, },
item: { item: {