feat(web): 全局中文 locale;管理面固定外壳、内容区独立滚动

This commit is contained in:
2026-10-07 20:56:55 +08:00
parent 7ff87888a3
commit bd5a9bf99f
2 changed files with 27 additions and 6 deletions
+9 -2
View File
@@ -1,7 +1,14 @@
<script setup lang="ts">
// 路由出口——逻辑骨架阶段无装饰
// 路由出口 + 全局中文(DatePicker 等默认 en-US,须用 ConfigProvider)
import zhCN from "antdv-next/locale/zh_CN";
import dayjs from "dayjs";
import "dayjs/locale/zh-cn";
dayjs.locale("zh-cn");
</script>
<template>
<router-view />
<a-config-provider :locale="zhCN">
<router-view />
</a-config-provider>
</template>