Commit 4b25003b by zhangxw

修改

1 parent 67d2cee9
...@@ -30,8 +30,8 @@ Page({ ...@@ -30,8 +30,8 @@ Page({
const pageQuery = JSON.parse(decodeURIComponent(query)) const pageQuery = JSON.parse(decodeURIComponent(query))
this.setData({pageQuery}) this.setData({pageQuery})
this.getMerchantDetail(pageQuery) this.getMerchantDetail(pageQuery)
if (pageQuery.currentTab == 2) { if (pageQuery.currentTab) {
this.setData({tabIndex: 2}) this.setData({tabIndex: Number(pageQuery.currentTab)})
} }
} }
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!