Parcourir la source

避免产生报错

xiaohaizhao il y a 2 ans
Parent
commit
ba171bc3ca
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      pages/index/market/index.js

+ 2 - 1
pages/index/market/index.js

@@ -17,6 +17,7 @@ Component({
   data: {
     CustomBar: getApp().globalData.CustomBar,
     typeList: [],
+    list: [],
     filtratelist: [{
       label: "领域",
       index: 0,
@@ -45,7 +46,7 @@ Component({
     init() {
       this.getBrand();
       this.getTradefie();
-			return true;
+      return true;
     },
     showModal(e) {
       this.setData({