fix: configure Element Plus Chinese locale (zh-cn)

Add zh-cn locale to Element Plus globally via app.use() and el-config-provider wrapper, and apply :locale prop to all el-date-picker components in dialogs to ensure correct Chinese display in date pickers, calendars, and other locale-aware UI.

Made-with: Cursor
This commit is contained in:
祀梦
2026-03-16 15:47:15 +08:00
parent 473b9052b0
commit 40eb2dadb0
7 changed files with 16 additions and 3 deletions

View File

@@ -5,10 +5,10 @@
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>webui</title>
<script type="module" crossorigin src="/assets/index-CZ83FtWq.js"></script>
<script type="module" crossorigin src="/assets/index-DP1ITMxF.js"></script>
<link rel="modulepreload" crossorigin href="/assets/vendor-CwFI-VDq.js">
<link rel="modulepreload" crossorigin href="/assets/element-plus-CAICPA8-.js">
<link rel="stylesheet" crossorigin href="/assets/index-DQPizegK.css">
<link rel="stylesheet" crossorigin href="/assets/index-DE0sVD5v.css">
</head>
<body>
<div id="app"></div>