Browse Source

避免产生报错

xiaohaizhao 2 years ago
parent
commit
ba171bc3ca
1 changed files with 2 additions and 1 deletions
  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({