fix bug
This commit is contained in:
+1
-1
@@ -118,7 +118,7 @@ const antTheme = computed(() => {
|
|||||||
})
|
})
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
await config.getConfigData()
|
await config.getConfigData()
|
||||||
console.log(config.config.color)
|
console.log(config?.config?.color)
|
||||||
checkVersion()
|
checkVersion()
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
showSplash.value = false
|
showSplash.value = false
|
||||||
|
|||||||
@@ -183,7 +183,7 @@ function registerAccount() {
|
|||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log(e)
|
console.log(e)
|
||||||
if (e.response?.status === 422) {
|
if (e.response?.status === 422) {
|
||||||
// message.error('این شماره همراه قبلا ثبت نام کرده است')
|
message.error('این شماره همراه قبلا ثبت نام کرده است')
|
||||||
}
|
}
|
||||||
} finally {
|
} finally {
|
||||||
loading.value = false
|
loading.value = false
|
||||||
|
|||||||
Reference in New Issue
Block a user