diff --git a/data-room-ui/packages/BigScreenDesign/OverallSetting/BgImgDialog.vue b/data-room-ui/packages/BigScreenDesign/OverallSetting/BgImgDialog.vue index 4f69a5b7..0545b575 100644 --- a/data-room-ui/packages/BigScreenDesign/OverallSetting/BgImgDialog.vue +++ b/data-room-ui/packages/BigScreenDesign/OverallSetting/BgImgDialog.vue @@ -115,13 +115,8 @@ export default { methods: { init () { this.dialogVisible = true - this.imgUrl = this.form.customTheme === 'light' ? this.form.bg : this.form.lightBg - this.fileList = this.getCoverPicture(this.imgUrl) - ? [{ - name: '背景图', - url: this.getCoverPicture(this.imgUrl) - }] - : [] + this.imgUrl = this.form.customTheme === 'light' ? this.form.lightBg : this.form.bg + this.fileList = this.getCoverPicture(this.imgUrl) ? [{ name: '背景图', url: this.getCoverPicture(this.imgUrl) }] : [] this.hideUploadImgBtn = this.fileList.length !== 0 this.$dataRoomAxios.get('/bigScreen/design/bg/list').then(list => { this.bgImgList = list diff --git a/data-room-ui/packages/BigScreenDesign/OverallSetting/index.vue b/data-room-ui/packages/BigScreenDesign/OverallSetting/index.vue index 6cce4b38..e52593f2 100644 --- a/data-room-ui/packages/BigScreenDesign/OverallSetting/index.vue +++ b/data-room-ui/packages/BigScreenDesign/OverallSetting/index.vue @@ -196,10 +196,10 @@