更新
This commit is contained in:
@@ -12,7 +12,7 @@ export const useAppStore = defineStore('app', () => {
|
|||||||
grey: false,
|
grey: false,
|
||||||
primaryColor: '#3b82f6',
|
primaryColor: '#3b82f6',
|
||||||
showTabs: true,
|
showTabs: true,
|
||||||
darkMode: 'auto',
|
darkMode: import.meta.env.MODE === 'production' ? 'dark' : 'auto',
|
||||||
layout_side_width: 256,
|
layout_side_width: 256,
|
||||||
layout_side_collapsed_width: 80,
|
layout_side_collapsed_width: 80,
|
||||||
layout_side_item_height: 48,
|
layout_side_item_height: 48,
|
||||||
@@ -104,7 +104,7 @@ export const useAppStore = defineStore('app', () => {
|
|||||||
grey: false,
|
grey: false,
|
||||||
primaryColor: '#3b82f6',
|
primaryColor: '#3b82f6',
|
||||||
showTabs: true,
|
showTabs: true,
|
||||||
darkMode: 'auto',
|
darkMode: import.meta.env.MODE === 'production' ? 'dark' : 'auto',
|
||||||
layout_side_width: 256,
|
layout_side_width: 256,
|
||||||
layout_side_collapsed_width: 80,
|
layout_side_collapsed_width: 80,
|
||||||
layout_side_item_height: 48,
|
layout_side_item_height: 48,
|
||||||
|
|||||||
Reference in New Issue
Block a user