소스 검색

避免产生报错

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({