Fix extra save session call from entry page causing invalid referral num
This commit is contained in:
parent
30f8729dae
commit
cff9674063
1 changed files with 1 additions and 1 deletions
|
|
@ -172,7 +172,7 @@ router.afterEach(async (to, from) => {
|
|||
}
|
||||
|
||||
const skipSaveSession = !!router.options.history.state[routerParams.SKIP_SAVE_SESSION];
|
||||
if (!skipSaveSession && !store.hasSubmittedOrder()) {
|
||||
if (from.name !== undefined && !skipSaveSession && !store.hasSubmittedOrder()) {
|
||||
await saveSession({});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue