From c98e45bfac25e9110ad0383faac54a54d98ea9d5 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 18 十一月 2021 20:47:04 +0800
Subject: [PATCH] 2021-11-18

---
 src/menu/components/editor/braft-editor/editorcontent/index.jsx |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/menu/components/editor/braft-editor/editorcontent/index.jsx b/src/menu/components/editor/braft-editor/editorcontent/index.jsx
index 1548854..d1d288b 100644
--- a/src/menu/components/editor/braft-editor/editorcontent/index.jsx
+++ b/src/menu/components/editor/braft-editor/editorcontent/index.jsx
@@ -10,14 +10,14 @@
 
 const Editor = asyncComponent(() => import('@/components/editor'))
 
-class DataSource extends Component {
+class EditorContentComponent extends Component {
   static propTpyes = {
     config: PropTypes.any,
     updateConfig: PropTypes.func
   }
 
   state = {
-    dict: localStorage.getItem('lang') !== 'en-US' ? zhCN : enUS,
+    dict: sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS,
     visible: false,
     html: null
   }
@@ -79,4 +79,4 @@
   }
 }
 
-export default DataSource
\ No newline at end of file
+export default EditorContentComponent
\ No newline at end of file

--
Gitblit v1.8.0