Commit 7b3436e1 by 高淑倩

modify: 首页_pageBackgroundColor非空

parent 3dfc2807
...@@ -150,7 +150,7 @@ wxService.page({ ...@@ -150,7 +150,7 @@ wxService.page({
const {result,data} = res.data const {result,data} = res.data
if(result == 0){ if(result == 0){
this.setData({ this.setData({
pageBackgroundColor: data.page.backgroundColor pageBackgroundColor: data.page.backgroundColor || 0
}) })
// 动态设置title // 动态设置title
wx.setNavigationBarTitle({ wx.setNavigationBarTitle({
......
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