From 5a8769cf014e5c73959fe29110f7f93a3565c4bb Mon Sep 17 00:00:00 2001 From: safavimohadeseh78 Date: Sun, 10 May 2026 13:02:44 +0330 Subject: [PATCH] fix bug of antTheme --- src/App.vue | 17 ++++------------- src/views/base/index.vue | 13 ++++++++++++- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/src/App.vue b/src/App.vue index 5ce6d54..52c7aed 100644 --- a/src/App.vue +++ b/src/App.vue @@ -9,17 +9,12 @@
- +
- - +
@@ -44,9 +39,6 @@
- - -
نسخه: {{ pkg.version }}
@@ -76,13 +68,11 @@ -
پشتیبانی
-
@@ -109,7 +99,6 @@ import pkg from '../package.json' import {useRegisterSW} from 'virtual:pwa-register/vue' import {computed, h, onMounted, ref} from 'vue' -import {update} from 'lodash' import img_topGradiant from '@/views/login/assets/img/gr_top_white.svg' import img_pattern from '@/views/login/assets/img/pattern.svg' import {LoadingOutlined} from '@ant-design/icons-vue' @@ -129,6 +118,7 @@ const indicator = h(LoadingOutlined, { spin: true }) const showSplash = ref(true) +const popVisible = ref(false) const antTheme = computed(() => { if (!config.config?.color) return null @@ -142,6 +132,7 @@ const antTheme = computed(() => { }, } }) + onMounted(async () => { await config.getConfigData() console.log(config?.config?.color) diff --git a/src/views/base/index.vue b/src/views/base/index.vue index ebf68fd..24142d3 100644 --- a/src/views/base/index.vue +++ b/src/views/base/index.vue @@ -97,7 +97,10 @@
گزارش
-
+