diff --git a/src/App.vue b/src/App.vue index 5f6e41a8..3f0bedd1 100644 --- a/src/App.vue +++ b/src/App.vue @@ -2,8 +2,10 @@ import { useAppStore } from "@/store/modules/app" import zhCn from "element-plus/lib/locale/lang/zh-cn" -useAppStore().initTheme() // 初始化主题 -const locale = zhCn // 将 Element-Plus 的语言设置为中文 +/** 初始化主题 */ +useAppStore().initTheme() +/** 将 Element-Plus 的语言设置为中文 */ +const locale = zhCn