|
|
@@ -486,7 +486,6 @@ const signRedirect = async (subjectLocation: string): Promise<boolean> => {
|
|
|
title: '签约成功',
|
|
|
icon: 'success',
|
|
|
})
|
|
|
- await userStore.getUserInfoByCode()
|
|
|
return true
|
|
|
} catch (error) {
|
|
|
console.error('signRedirect error:', error)
|
|
|
@@ -495,13 +494,13 @@ const signRedirect = async (subjectLocation: string): Promise<boolean> => {
|
|
|
}
|
|
|
|
|
|
onLoad(async (query) => {
|
|
|
- await userStore.getUserInfoByCode()
|
|
|
const subjectLocation = query?.subjectLocationByUrl?.trim() || ''
|
|
|
|
|
|
if (subjectLocation) {
|
|
|
await signRedirect(subjectLocation)
|
|
|
}
|
|
|
|
|
|
+ await userStore.getUserInfoByCode()
|
|
|
await getSubjectLocationDict()
|
|
|
})
|
|
|
</script>
|