Browse Source

fix: click the thumbnail to preview the program

Casper Dai 3 years ago
parent
commit
59a2508c16
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/components/dialog/EventTargetDialog/index.vue

+ 2 - 2
src/components/dialog/EventTargetDialog/index.vue

@@ -43,9 +43,9 @@ export default {
           { key: 'name', type: 'search', placeholder: '节目名称' }
         ],
         cols: [
-          { label: '缩略图', type: 'asset', render ({ img }) {
+          { label: '缩略图', type: 'asset', render ({ id, img }) {
             return img
-              ? { thumbnail: img }
+              ? { id, thumbnail: img }
               : null
           }, on: this.onView },
           { prop: 'name', label: '节目名称' },