1 Star 0 Fork 2.4K

janssonHua/plus-ui

forked from 疯狂的狮子Li/plus-ui 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
App.vue 523 Bytes
一键复制 编辑 原始数据 按行查看 历史
疯狂的狮子Li 提交于 2023-04-03 00:05 +08:00 . update 调整代码格式
<template>
<el-config-provider :locale="appStore.locale" :size="size">
<router-view />
</el-config-provider>
</template>
<script setup lang="ts">
import useSettingsStore from '@/store/modules/settings'
import { handleThemeStyle } from '@/utils/theme'
import useAppStore from '@/store/modules/app';
const appStore = useAppStore();
const size = computed(() => appStore.size as any);
onMounted(() => {
nextTick(() => {
// 初始化主题样式
handleThemeStyle(useSettingsStore().theme)
})
})
</script>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/janssonhua/plus-ui.git
git@gitee.com:janssonhua/plus-ui.git
janssonhua
plus-ui
plus-ui
ts

搜索帮助