主题色修改
This commit is contained in:
@@ -8,7 +8,9 @@
|
||||
import { computed, ref } from 'vue'
|
||||
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
|
||||
import { useConfig } from '@/stores/config'
|
||||
// const configStore = useConfig()
|
||||
import { useElementPlusTheme } from "use-element-plus-theme"
|
||||
const configStore = useConfig()
|
||||
useElementPlusTheme(configStore.getColorVal('elementUiPrimary'))
|
||||
// document.documentElement.style.setProperty('--el-color-primary', configStore.getColorVal('elementUiPrimary'));
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user