fix(ui): 移除UI模式切换后自动刷新页面

fix(locales): 修改自动布局文本为更简洁的“自动”
This commit is contained in:
PKC278
2025-12-30 03:25:55 +08:00
parent 6d14271fe8
commit daa8f857f8
4 changed files with 3 additions and 5 deletions
-2
View File
@@ -262,8 +262,6 @@ const uiModes = computed(() => [
function changeUIMode(mode: UIMode) { function changeUIMode(mode: UIMode) {
setUIMode(mode) setUIMode(mode)
showUIModeMenu.value = false showUIModeMenu.value = false
// 刷新页面以应用更改
window.location.reload()
} }
// 获取当前UI模式图标 // 获取当前UI模式图标
+1 -1
View File
@@ -132,7 +132,7 @@ export default {
light: 'Light', light: 'Light',
dark: 'Dark', dark: 'Dark',
auto: 'Follow System', auto: 'Follow System',
autoUI: 'Auto Layout', autoUI: 'Auto',
transparent: 'Transparent', transparent: 'Transparent',
purple: 'Purple', purple: 'Purple',
custom: 'Custom Style', custom: 'Custom Style',
+1 -1
View File
@@ -132,7 +132,7 @@ export default {
light: '浅色', light: '浅色',
dark: '深色', dark: '深色',
auto: '跟随系统', auto: '跟随系统',
autoUI: '自动布局', autoUI: '自动',
transparent: '透明', transparent: '透明',
purple: '幻紫', purple: '幻紫',
custom: '附加样式', custom: '附加样式',
+1 -1
View File
@@ -132,7 +132,7 @@ export default {
light: '淺色', light: '淺色',
dark: '深色', dark: '深色',
auto: '跟隨系統', auto: '跟隨系統',
autoUI: '自動佈局', autoUI: '自動',
transparent: '透明', transparent: '透明',
purple: '幻紫', purple: '幻紫',
custom: '附加樣式', custom: '附加樣式',