|
@@ -148,9 +148,6 @@ export default {
|
|
async onLoad(options) {
|
|
async onLoad(options) {
|
|
uni.hideTabBar();
|
|
uni.hideTabBar();
|
|
this.options = options;
|
|
this.options = options;
|
|
- if (this.options.skipPort) {
|
|
|
|
- await this.$method.skipLogin(this.options.skipPort);
|
|
|
|
- }
|
|
|
|
if (this.options.isAct && !this.$method.isLogin()) {
|
|
if (this.options.isAct && !this.$method.isLogin()) {
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
url: "/pages4/login/login?isBack=" + true + "&isAct=1",
|
|
url: "/pages4/login/login?isBack=" + true + "&isAct=1",
|
|
@@ -159,11 +156,15 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
async onShow() {
|
|
async onShow() {
|
|
|
|
+ let { skipPort, sign } = this.options;
|
|
|
|
+ if (skipPort) {
|
|
|
|
+ this.options.skipPort = undefined;
|
|
|
|
+ this.options.sign = undefined;
|
|
|
|
+ await this.$method.skipLogin(skipPort);
|
|
|
|
+ }
|
|
this.param.pageNum = 1;
|
|
this.param.pageNum = 1;
|
|
this.questionLists = [];
|
|
this.questionLists = [];
|
|
- this.isGetOtherQuetion = this.options.sign
|
|
|
|
- ? true
|
|
|
|
- : await this.getIsHaveOtherQuetion();
|
|
|
|
|
|
+ this.isGetOtherQuetion = sign || (await this.getIsHaveOtherQuetion());
|
|
this.getBankList();
|
|
this.getBankList();
|
|
},
|
|
},
|
|
onPullDownRefresh() {
|
|
onPullDownRefresh() {
|