From 02fa651e032dad40c3493f0abf7b38edabaa3867 Mon Sep 17 00:00:00 2001 From: safavimohadeseh78 Date: Sat, 7 Feb 2026 14:45:13 +0330 Subject: [PATCH] fix bug --- src/App.vue | 2 +- src/views/login/components/Register.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.vue b/src/App.vue index 4a75b55..f6da71e 100644 --- a/src/App.vue +++ b/src/App.vue @@ -118,7 +118,7 @@ const antTheme = computed(() => { }) onMounted(async () => { await config.getConfigData() - console.log(config.config.color) + console.log(config?.config?.color) checkVersion() setTimeout(() => { showSplash.value = false diff --git a/src/views/login/components/Register.vue b/src/views/login/components/Register.vue index 669993a..69a4b08 100644 --- a/src/views/login/components/Register.vue +++ b/src/views/login/components/Register.vue @@ -183,7 +183,7 @@ function registerAccount() { } catch (e) { console.log(e) if (e.response?.status === 422) { - // message.error('این شماره همراه قبلا ثبت نام کرده است') + message.error('این شماره همراه قبلا ثبت نام کرده است') } } finally { loading.value = false