Explorar o código

避免产生报错

xiaohaizhao %!s(int64=2) %!d(string=hai) anos
pai
achega
ba171bc3ca
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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({