Commit 8b7d369775f7e6f63a1a607d464ae7358d3dc743
1 parent
ed6b3d6a
设置动态标题
Showing
1 changed file
with
1 additions
and
1 deletions
pages/goods/goodsInfo/goodsInfo.js
@@ -254,7 +254,7 @@ Page({ | @@ -254,7 +254,7 @@ Page({ | ||
254 | //------初始化加载---------- | 254 | //------初始化加载---------- |
255 | onLoad: function(t) { | 255 | onLoad: function(t) { |
256 | wx.setNavigationBarTitle({ | 256 | wx.setNavigationBarTitle({ |
257 | - title: "商品详情", | 257 | + title: t.title, |
258 | }) | 258 | }) |
259 | var ee = this, | 259 | var ee = this, |
260 | that = ee, | 260 | that = ee, |