diff --git a/subpages/communitySelfInsp/pages/followUpList/followUpList.js b/subpages/communitySelfInsp/pages/followUpList/followUpList.js index 855191d..d78c232 100644 --- a/subpages/communitySelfInsp/pages/followUpList/followUpList.js +++ b/subpages/communitySelfInsp/pages/followUpList/followUpList.js @@ -36,6 +36,11 @@ Page({ this.setData({ newType: options.key1 }); + let title = options.key1 == 'resi'?'新增居民记录':'新增房屋记录' + wx.setNavigationBarTitle({ + title: title + }) + this.getCollect() }, diff --git a/subpages/communitySelfInsp/pages/followUpList/followUpList.json b/subpages/communitySelfInsp/pages/followUpList/followUpList.json index 998c4fd..e7f7937 100644 --- a/subpages/communitySelfInsp/pages/followUpList/followUpList.json +++ b/subpages/communitySelfInsp/pages/followUpList/followUpList.json @@ -5,6 +5,5 @@ "wux-calendar":"../../../../components/dist/calendar", "wux-picker":"../../../../components/dist/picker/index" - }, - "navigationBarTitleText": "我的回访记录" + } } \ No newline at end of file