diff --git a/src/components/utils/modules.js b/src/components/utils/modules.js index 5e3d997..2486c22 100644 --- a/src/components/utils/modules.js +++ b/src/components/utils/modules.js @@ -97,7 +97,7 @@ export const user = { uni.navigateTo({url: modulePath}); } else if (checkType == 4) { if (!token) { - return dispatch('autoLogin').then(() => dispatch('authCheck', { checkType, modulePath })); + return dispatch('autoLogin', { loginWay: 'qujing' }).then(() => dispatch('authCheck', { checkType, modulePath })); } if (!userInfo.areaId) { return uni.showModal({ diff --git a/src/project/fengdu/AppHome/AppHome.vue b/src/project/fengdu/AppHome/AppHome.vue index 322bfb3..d3407f0 100644 --- a/src/project/fengdu/AppHome/AppHome.vue +++ b/src/project/fengdu/AppHome/AppHome.vue @@ -70,7 +70,7 @@ export default { uni.setNavigationBarTitle({title: "丰收号"}) }, onLoad() { - this.autoLogin().then(() => { + this.autoLogin({ loginWay: 'qujing' }).then(() => { this.getSwiperList(); this.getGrids(); this.getNotice(); diff --git a/src/project/fengdu/AppHome/openPage.vue b/src/project/fengdu/AppHome/openPage.vue index 3b947db..06a9b09 100644 --- a/src/project/fengdu/AppHome/openPage.vue +++ b/src/project/fengdu/AppHome/openPage.vue @@ -29,7 +29,7 @@ export default { uni.switchTab({ url: '/pages/AppHome/AppHome' }) - }, 2000) + }, 6000) } } }) @@ -49,7 +49,7 @@ export default { }) } }, - onLoad() { + onShow() { this.getStatus() }, } diff --git a/src/project/fengdu/AppWxworkQrcode/AppWxworkQrcode.vue b/src/project/fengdu/AppWxworkQrcode/AppWxworkQrcode.vue index 7560444..0a18917 100644 --- a/src/project/fengdu/AppWxworkQrcode/AppWxworkQrcode.vue +++ b/src/project/fengdu/AppWxworkQrcode/AppWxworkQrcode.vue @@ -14,7 +14,8 @@