Browse Source

fix[litemall-admin]: 专题不能正确显示详情

Junling Bu 6 years ago
parent
commit
10a4d01d6a
1 changed files with 8 additions and 1 deletions
  1. 8 1
      litemall-admin/src/views/promotion/topic.vue

+ 8 - 1
litemall-admin/src/views/promotion/topic.vue

@@ -101,7 +101,10 @@ export default {
         subtitle: undefined,
         sort: 'add_time',
         order: 'desc'
-      }
+      },
+      contentDetail: '',
+      contentDialogVisible: false,
+      downloadLoading: false
     }
   },
   created() {
@@ -149,6 +152,10 @@ export default {
           })
         })
     },
+    showContent(content) {
+      this.contentDetail = content
+      this.contentDialogVisible = true
+    },
     handleDownload() {
       this.downloadLoading = true
       import('@/vendor/Export2Excel').then(excel => {