shishuangxi

调整协议获取时机

@@ -88,7 +88,6 @@ struct LaunchPage { @@ -88,7 +88,6 @@ struct LaunchPage {
88 // let isJumpPrivacy: boolean = globalThis.isJumpPrivacy ?? false; 88 // let isJumpPrivacy: boolean = globalThis.isJumpPrivacy ?? false;
89 // let isJumpPrivacy: boolean = (GlobalContext.getContext().getObject('isJumpPrivacy') as boolean) ?? false; 89 // let isJumpPrivacy: boolean = (GlobalContext.getContext().getObject('isJumpPrivacy') as boolean) ?? false;
90 //if (!isJumpPrivacy) { 90 //if (!isJumpPrivacy) {
91 - this.requestAgreement()  
92 this.dialogController.open(); 91 this.dialogController.open();
93 // } 92 // }
94 } else { 93 } else {
@@ -165,5 +164,9 @@ struct LaunchPage { @@ -165,5 +164,9 @@ struct LaunchPage {
165 164
166 } 165 }
167 166
  167 + aboutToAppear(): void {
  168 + this.requestAgreement()
  169 + }
  170 +
168 171
169 } 172 }