|
@@ -48,12 +48,13 @@ Page({
|
|
|
};
|
|
|
if (pageMap[index]) {
|
|
|
wx.navigateTo({ url: pageMap[index] });
|
|
|
- } else if (index === 5) {
|
|
|
- const tabbar = this.getTabBar && this.getTabBar();
|
|
|
- if (tabbar && tabbar.openShowAgreementModal) {
|
|
|
- tabbar.openShowAgreementModal()
|
|
|
- }
|
|
|
- }
|
|
|
+ }
|
|
|
+ // else if (index === 5) {
|
|
|
+ // const tabbar = this.getTabBar && this.getTabBar();
|
|
|
+ // if (tabbar && tabbar.openShowAgreementModal) {
|
|
|
+ // tabbar.openShowAgreementModal()
|
|
|
+ // }
|
|
|
+ // }
|
|
|
},
|
|
|
|
|
|
// 头像选择
|