LOGO
diff --git a/src/components/apps/UploadFileManager/index.vue b/src/components/apps/UploadFileManager/index.vue
index c0557c2..62a2794 100644
--- a/src/components/apps/UploadFileManager/index.vue
+++ b/src/components/apps/UploadFileManager/index.vue
@@ -84,7 +84,7 @@ onMounted(() => {
-
+
{{ $t('apps.uploadsFileManager.alertText') }}
diff --git a/src/components/apps/UserInfo/index.vue b/src/components/apps/UserInfo/index.vue
index e20d78f..94ce97a 100644
--- a/src/components/apps/UserInfo/index.vue
+++ b/src/components/apps/UserInfo/index.vue
@@ -4,7 +4,7 @@ import { NButton, NCard, NDivider, NForm, NFormItem, NInput, NSelect, useDialog,
import { ref } from 'vue'
import { useAppStore, useAuthStore, usePanelState, useUserStore } from '@/store'
import { languageOptions } from '@/utils/defaultData'
-import type { Language } from '@/store/modules/app/helper'
+import type { Language, Theme } from '@/store/modules/app/helper'
import { logout } from '@/api'
import { RoundCardModal, SvgIcon } from '@/components/common/'
import { updateInfo, updatePassword } from '@/api/system/user'
@@ -19,15 +19,15 @@ const ms = useMessage()
const dialog = useDialog()
const languageValue = ref(appStore.language)
-// const themeValue = ref(appStore.theme)
+const themeValue = ref(appStore.theme)
const nickName = ref(authStore.userInfo?.name || '')
const isEditNickNameStatus = ref(false)
const formRef = ref(null)
-// const themeOptions: { label: string; key: string; value: Theme }[] = [
-// { label: t('apps.userInfo.themeStyle.dark'), key: 'dark', value: 'dark' },
-// { label: t('apps.userInfo.themeStyle.light'), key: 'light', value: 'light' },
-// { label: t('apps.userInfo.themeStyle.auto'), key: 'Auto', value: 'auto' },
-// ]
+const themeOptions: { label: string; key: string; value: Theme }[] = [
+ { label: t('apps.userInfo.themeStyle.dark'), key: 'dark', value: 'dark' },
+ { label: t('apps.userInfo.themeStyle.light'), key: 'light', value: 'light' },
+ { label: t('apps.userInfo.themeStyle.auto'), key: 'Auto', value: 'auto' },
+]
const updatePasswordModalState = ref({
show: false,
loading: false,
@@ -138,15 +138,15 @@ function handleChangeLanuage(value: Language) {
location.reload()
}
-// function handleChangeTheme(value: Theme) {
-// themeValue.value = value
-// appStore.setTheme(value)
-// // location.reload()
-// }
+function handleChangeTheme(value: Theme) {
+ themeValue.value = value
+ appStore.setTheme(value)
+ // location.reload()
+}
-
+
@@ -187,14 +187,14 @@ function handleChangeLanuage(value: Language) {
-
+
diff --git a/src/views/home/components/AppStarter/index.vue b/src/views/home/components/AppStarter/index.vue
index 77a6a94..741a1c4 100644
--- a/src/views/home/components/AppStarter/index.vue
+++ b/src/views/home/components/AppStarter/index.vue
@@ -11,7 +11,6 @@ interface App {
icon: string
auth?: number
}
-
const props = defineProps<{
visible: boolean
}>()
@@ -129,9 +128,9 @@ onUnmounted(() => {
-
+
-
+
{
style="height: 100%;"
content-style="overflow: hidden"
>
-
+
-
+
@@ -188,3 +189,9 @@ onUnmounted(() => {
text-shadow: 0px 0px 5px gray;
}
+
+
diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index a945d36..8fafd21 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -43,7 +43,7 @@ const dropdownShow = ref(false)
const currentRightSelectItem = ref
(null)
const currentAddItenIconGroupId = ref()
-const settingModalShow = ref(false)
+const settingModalShow = ref(true)
const items = ref([])
const filterItems = ref([])