Commit defbe448 by chenwq

Merge branch 'v5.8.5' of http://192.168.3.233:8090/usedCarAuction/aus into v5.8.5

2 parents 1b50fbbb 7a01d594
......@@ -326,12 +326,14 @@ export default class HomePage extends Vue {
* P1:COMMON 且未处于认证中 → 延迟展示认证引导。
* 否则直接进入 P2/P3 链路。
*/
runHomeEntrancePopupSequence(): void {
async runHomeEntrancePopupSequence(): void {
const authService: AuthService = this.$auth;
if (!authService.isLogin()) {
return;
}
const accountInfo = authService.getAuthentication();
const res = await AccountController.getAccountInfo(this.axios)
const accountInfo = res.data
// const accountInfo = authService.getAuthentication();
/** 仅未认证/认证失败的 COMMON 用户走认证引导 或者未签署平台合同;已认证用户直接进入权益弹窗链路 */
const cs = accountInfo?.certifiedState;
const needP1 = (!!(accountInfo && accountInfo.accountType === 'COMMON' && cs !== 'CERTIFICATING' && cs !== 'CERTIFIED') || (accountInfo && !accountInfo.platformContractSigned));
......@@ -347,7 +349,9 @@ export default class HomePage extends Vue {
return;
}
void this.continuePopupSequenceAfterP1();
void (async () => {
await this.continuePopupSequenceAfterP1()
});
}
onCertifyDialogClosed(): void {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!