Merge remote-tracking branch 'origin/main'

# Conflicts:
#	src/views/login/components/Register.vue
This commit is contained in:
2026-02-09 13:47:56 +03:30
18 changed files with 250 additions and 110 deletions
+2 -2
View File
@@ -203,7 +203,7 @@ async function enterFingerPrint() {
const fingerPrint = await authenticateWithFingerprint()
if (fingerPrint) {
setTruth()
await router.push({ name: 'home' })
await router.push({ name: 'buyProduct' })
} else {
message.error('خطا در اعتبارسنجی')
}
@@ -234,7 +234,7 @@ async function login(accessToken: string | undefined) {
/* if (userStore.userInfo?.type === (URLUserType() === 'customer' ? 1 : 2)) {*/
await walletStore.getMyWallet()
setTruth()
await router.push({ name: 'home' })
await router.push({ name: 'buyProduct' })
/* } else {
removeToken()
userStore.removeInformation()
+1 -1
View File
@@ -43,7 +43,7 @@ const userFormState = ref<UserMobile>({
})
function phoneVerification() {
router.push({name: 'home' })
router.push({name: 'buyProduct' })
}
</script>