panhui 5 vuotta sitten
vanhempi
commit
85e256f0d8
1 muutettua tiedostoa jossa 4 lisäystä ja 7 poistoa
  1. 4 7
      src/pages/Home.vue

+ 4 - 7
src/pages/Home.vue

@@ -96,8 +96,7 @@ export default {
             seriesId: 0,
             seriesName: '',
             isSeries: true,
-            columns: [],
-            banners: []
+            columns: []
         };
     },
     computed: {
@@ -158,10 +157,10 @@ export default {
                 .then(res => {
                     this.hideLoading();
                     this.list = res;
-                    this.banners = res.list.image;
                     if (res.length === 0) {
                         this.empty = true;
                     }
+                    console.log(this.empty);
                 })
                 .catch(e => {
                     this.hideLoading();
@@ -183,7 +182,6 @@ export default {
                     }
                 )
                 .then(res => {
-                    console.log(res);
                     this.columns = res.content;
                 })
                 .catch(e => {
@@ -243,9 +241,8 @@ export default {
     },
     onShareAppMessage() {
         return {
-            title: '卓卡——' + this.seriesName,
-            path: '/pages/Home?id=' + this.list.cardCaseId,
-            imageUrl: this.banners.length > 0 ? this.banners[0] : ''
+            title: '卓卡',
+            path: '/pages/Home'
         };
     }
 };