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.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,10 +134,12 @@ export default {
tovideo: { tovideo: {
handler(newimg, oldimg) { handler(newimg, oldimg) {
this.uploadbtn = true; this.uploadbtn = true;
if (this.tovideo) {
this.videoForm.showVideoPath = this.videoForm.showVideoPath =
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; this.video.VideoPath = process.env.VUE_APP_BASE_API + this.tovideo;
} }
}
}, },
item: { item: {
handler(newimg, oldimg) { handler(newimg, oldimg) {