From 92b18ad6d54dab5fcb6d20976de11535538855bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Wed, 15 Feb 2023 16:09:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/stationAvatar/index.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/views/system/stationAvatar/index.vue b/src/views/system/stationAvatar/index.vue index 4581d29..72fbce1 100644 --- a/src/views/system/stationAvatar/index.vue +++ b/src/views/system/stationAvatar/index.vue @@ -174,8 +174,14 @@ export default { created() { this.types = this.type; this.items = this.item; - this.video.VideoPath = baseurl + this.tovideo; - console.log(this.video) + if (this.tovideo == null) { + this.video.VideoPath = null; + } else if (this.tovideo == "") { + this.video.VideoPath = null; + } else { + this.video.VideoPath = baseurl + this.tovideo; + } + console.log(this.video); if (this.img == null) { this.options.img = null; } else if (this.img == "") {