fixed: 增加导出模板特殊字段说明,添加默认darkMode

This commit is contained in:
pixelMax(奇淼
2024-07-10 17:53:57 +08:00
parent 954160ebd9
commit 35efc07b2e
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import { ref, watchEffect, reactive } from 'vue'
import originSetting from "@/config.json"
import { setBodyPrimaryColor } from '@/utils/format'
export const useAppStore = defineStore('app', () => {
const theme = ref(localStorage.getItem('theme') || originSetting.darkMode)
const theme = ref(localStorage.getItem('theme') || originSetting.darkMode || 'auto')
const device = ref("")
const config = reactive({
weakness: false,