diff --git a/App.vue b/App.vue index c22e9b6..77aa792 100644 --- a/App.vue +++ b/App.vue @@ -16,7 +16,7 @@ ...mapActions(['memberLogin','getLoginCode']), ...mapMutations(['setVisitChannels']), }, - onLaunch: function(options) { + onLaunch: async function(options) { uni.getSystemInfo({ success: function(e) { // #ifndef MP @@ -43,9 +43,9 @@ let _this = this console.log('app',this.user.WeChat_MiniProToken) if (this.user.WeChat_MiniProToken) { - this.memberLogin() // 获取用户数据 + await this.memberLogin() // 获取用户数据 } else { - this.getLoginCode() + await this.getLoginCode() } this.setVisitChannels(options.scene) diff --git a/pages.json b/pages.json index 17cc2dd..1abd2de 100644 --- a/pages.json +++ b/pages.json @@ -93,7 +93,7 @@ "style": { "enablePullDownRefresh": true, - "navigationBarTitleText": "结算审批" + "navigationStyle": "custom" } }, { diff --git a/pages/settlementApproval/index.vue b/pages/settlementApproval/index.vue index fc5d611..9adb486 100644 --- a/pages/settlementApproval/index.vue +++ b/pages/settlementApproval/index.vue @@ -1,87 +1,124 @@