瀏覽代碼

避免产生报错

xiaohaizhao 2 年之前
父節點
當前提交
ba171bc3ca
共有 1 個文件被更改,包括 2 次插入1 次删除
  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({