fixed: 增加导出模板特殊字段说明,添加默认darkMode
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user