1405/05/15-change redirect route

This commit is contained in:
2026-08-06 11:54:35 +03:30
parent 46807e3089
commit 4361e71030
5 changed files with 203 additions and 188 deletions
+2 -2
View File
@@ -198,7 +198,7 @@ async function enterFingerPrint() {
const fingerPrint = await authenticateWithFingerprint()
if (fingerPrint) {
setTruth()
await router.push({ name: 'buyProduct' })
await router.push({ name: 'home' })
} else {
message.error('خطا در اعتبارسنجی')
}
@@ -229,7 +229,7 @@ async function login(accessToken: string | undefined) {
/* if (userStore.userInfo?.type === (URLUserType() === 'customer' ? 1 : 2)) {*/
await walletStore.getMyWallet()
setTruth()
await router.push({ name: 'buyProduct' })
await router.push({ name: 'home' })
/* } else {
removeToken()
userStore.removeInformation()
+1 -1
View File
@@ -43,7 +43,7 @@ const userFormState = ref<UserMobile>({
})
function phoneVerification() {
router.push({name: 'buyProduct' })
router.push({name: 'home' })
}
</script>