Commit 66ea6205 by 程智春

动态设置首页title

parent c4c24254
......@@ -170,6 +170,7 @@ export default {
// };
},
onLoad(options) {
let location=JSON.parse(wx.getStorageSync('location') || '{}')
// if (!location.areaGroupId) {
// wx.redirectTo({
......@@ -242,6 +243,10 @@ export default {
this.pageData = JSON.parse(this.pageInfo.pageData);
console.log("36", this.pageData);
console.log(app.globalData.shopInfo,'app')
wx.setNavigationBarTitle({title : app.globalData.shopInfo.shopName})
wx.stopPullDownRefresh()
},
scrolls(el){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment