Ver código fonte

fix: program cannot be previewed

Casper Dai 3 anos atrás
pai
commit
24851a0dd3
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      src/components/Schedule/ScheduleSwiper/index.vue

+ 2 - 2
src/components/Schedule/ScheduleSwiper/index.vue

@@ -123,9 +123,9 @@ export default {
         ],
         cols: [
           { type: 'selection' },
-          { 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: '节目名称' }