fix bug
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
@@ -183,7 +183,7 @@ function registerAccount() {
|
||||
} catch (e) {
|
||||
console.log(e)
|
||||
if (e.response?.status === 422) {
|
||||
// message.error('این شماره همراه قبلا ثبت نام کرده است')
|
||||
message.error('این شماره همراه قبلا ثبت نام کرده است')
|
||||
}
|
||||
} finally {
|
||||
loading.value = false
|
||||
|
||||
Reference in New Issue
Block a user