From 12e6f9526818cfb62434b37aa0a3169cfc0d3cae Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 24 二月 2021 16:46:06 +0800 Subject: [PATCH] 2021-02-24 --- src/views/main/index.jsx | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/views/main/index.jsx b/src/views/main/index.jsx index c739759..3dede3d 100644 --- a/src/views/main/index.jsx +++ b/src/views/main/index.jsx @@ -12,7 +12,7 @@ const Tabview = asyncComponent(() => import('@/components/tabview')) const Breadview = asyncComponent(() => import('@/components/breadview')) -const _locale = localStorage.getItem('lang') !== 'en-US' ? zhCN : enUS +const _locale = sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS class Main extends Component { state = { -- Gitblit v1.8.0