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 == "") {