fix: 切换主题不成功

This commit is contained in:
LOG1997
2025-01-09 20:42:49 +08:00
parent 2fe90a14dd
commit 9a805c9024
4 changed files with 12 additions and 8 deletions

View File

@@ -2,10 +2,10 @@
import i18n, { languageList } from '@/locales/i18n'
import useStore from '@/store'
import { themeChange } from '@/utils'
import { isHex, isRgbOrRgba } from '@/utils/color'
import daisyuiThemes from 'daisyui/src/theming/themes'
import { storeToRefs } from 'pinia'
import { themeChange } from 'theme-change'
import { onMounted, ref, watch } from 'vue'
import { ColorPicker } from 'vue3-colorpicker'
import { useI18n } from 'vue-i18n'