feat: i18n lazy load
This commit is contained in:
parent
ccffe9daa8
commit
07209a7d29
6 changed files with 25 additions and 17 deletions
|
@ -14,7 +14,8 @@ const router = useRouter()
|
|||
const switchUser = (user: UserLogin) => {
|
||||
if (user.account.id === currentUser.value?.account.id)
|
||||
router.push(getAccountPath(user.account))
|
||||
else loginTo(user)
|
||||
else
|
||||
loginTo(user)
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue