This commit is contained in:
曹辉 2023-05-04 16:03:50 +08:00
parent bba19a7869
commit 54ef7a9ff7

View File

@ -123,8 +123,9 @@ export default {
this.uploadbtn = true;
this.filedata.type = this.type;
this.items = this.item;
this.videoForm.showVideoPath = process.env.VUE_APP_BASE_API + 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.title = "上传视频";
@ -133,10 +134,12 @@ export default {
tovideo: {
handler(newimg, oldimg) {
this.uploadbtn = true;
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;
}
}
},
item: {
handler(newimg, oldimg) {