diff --git a/src/components/dialog/AboutDialog.vue b/src/components/dialog/AboutDialog.vue index 31d29e0f..a1a80c37 100644 --- a/src/components/dialog/AboutDialog.vue +++ b/src/components/dialog/AboutDialog.vue @@ -2,10 +2,17 @@ import { formatDateDifference } from '@/@core/utils/formatters' import api from '@/api' import { useI18n } from 'vue-i18n' +import { useDisplay } from 'vuetify' // 国际化 const { t } = useI18n() +// 定义事件 +const emit = defineEmits(['close']) + +// 显示器 +const display = useDisplay() + // 系统环境变量 const systemEnv = ref({}) @@ -116,233 +123,247 @@ onMounted(() => { diff --git a/src/layouts/components/ShortcutBar.vue b/src/layouts/components/ShortcutBar.vue index 736bfcea..7381a8ce 100644 --- a/src/layouts/components/ShortcutBar.vue +++ b/src/layouts/components/ShortcutBar.vue @@ -94,20 +94,6 @@ const shortcuts = [ dialog: 'netTest', dialogRef: netTestDialog, }, - { - title: t('shortcut.system.title'), - subtitle: t('shortcut.system.subtitle'), - icon: 'mdi-cog', - dialog: 'systemTest', - dialogRef: systemTestDialog, - }, - { - title: t('shortcut.message.title'), - subtitle: t('shortcut.message.subtitle'), - icon: 'mdi-message', - dialog: 'message', - dialogRef: messageDialog, - }, { title: t('shortcut.words.title'), subtitle: t('shortcut.words.subtitle'), @@ -122,6 +108,20 @@ const shortcuts = [ dialog: 'cache', dialogRef: cacheDialog, }, + { + title: t('shortcut.system.title'), + subtitle: t('shortcut.system.subtitle'), + icon: 'mdi-cog', + dialog: 'systemTest', + dialogRef: systemTestDialog, + }, + { + title: t('shortcut.message.title'), + subtitle: t('shortcut.message.subtitle'), + icon: 'mdi-message', + dialog: 'message', + dialogRef: messageDialog, + }, ] // 打开对话框 @@ -388,6 +388,38 @@ onMounted(() => { + + + + + + + {{ t('shortcut.words.subtitle') }} + + + + + + + + + + + + + + + + {{ t('shortcut.cache.subtitle') }} + + + + + + + + + { - - - - - - - {{ t('shortcut.words.subtitle') }} - - - - - - - - - - - - - - - - {{ t('shortcut.cache.subtitle') }} - - - - - - - - - diff --git a/src/layouts/components/UserProfile.vue b/src/layouts/components/UserProfile.vue index 6d3bcf54..233626d4 100644 --- a/src/layouts/components/UserProfile.vue +++ b/src/layouts/components/UserProfile.vue @@ -796,21 +796,7 @@ onUnmounted(() => { - - - - - - {{ t('setting.about.title') }} - - - - - - - - - + diff --git a/src/views/system/CacheView.vue b/src/views/system/CacheView.vue index e9bc2d38..442d1a3c 100644 --- a/src/views/system/CacheView.vue +++ b/src/views/system/CacheView.vue @@ -233,13 +233,37 @@ onMounted(() => {