Skip to content

Commit

Permalink
fix: register_success event error
Browse files Browse the repository at this point in the history
  • Loading branch information
scarqin committed Feb 16, 2023
1 parent c29343d commit b5288f9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ export class UserModalComponent implements OnInit, OnDestroy {
}
if (data.type == 1) {
// * register
this.trace.report('register_success');
this.trace.setUser({ register_way: this.hash.get(data.loginWay) });
}
this.store.setLoginInfo(data);
Expand Down Expand Up @@ -427,6 +428,7 @@ export class UserModalComponent implements OnInit, OnDestroy {
}
if (data.type == 1) {
// * register
this.trace.report('register_success');
this.trace.setUser({ register_way: this.hash.get(data.loginWay) });
}
this.store.setLoginInfo(data);
Expand Down

0 comments on commit b5288f9

Please sign in to comment.