From b91c28df2f734b680198e755b7828666e238cea0 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 21 六月 2024 16:43:44 +0800
Subject: [PATCH] Merge branch 'develop'

---
 src/tabviews/custom/components/calendar/board/index.jsx |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/tabviews/custom/components/calendar/board/index.jsx b/src/tabviews/custom/components/calendar/board/index.jsx
index fddbe03..f4e1e3b 100644
--- a/src/tabviews/custom/components/calendar/board/index.jsx
+++ b/src/tabviews/custom/components/calendar/board/index.jsx
@@ -10,7 +10,9 @@
 
 const { Option } = Select
 
-moment.locale('zh-cn')
+if (sessionStorage.getItem('lang') === 'zh-CN') {
+  moment.locale('zh-cn')
+}
 
 class CalendarBoard extends Component {
   static propTpyes = {

--
Gitblit v1.8.0