From 31ec63f0419895876cbaba99637a884a32d33d0d Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 01 九月 2021 10:31:45 +0800
Subject: [PATCH] 2021-09-01

---
 src/tabviews/zshare/chartcomponent/index.jsx |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/tabviews/zshare/chartcomponent/index.jsx b/src/tabviews/zshare/chartcomponent/index.jsx
index 7aaa703..231654d 100644
--- a/src/tabviews/zshare/chartcomponent/index.jsx
+++ b/src/tabviews/zshare/chartcomponent/index.jsx
@@ -25,7 +25,7 @@
   }
 
   state = {
-    dict: localStorage.getItem('lang') !== 'en-US' ? zhCN : enUS, // 瀛楀吀
+    dict: sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS, // 瀛楀吀
     empty: true,               // 鍥捐〃鏁版嵁涓虹┖
     actions: [],               // 鍥捐〃缁戝畾鐨勬寜閽粍
     chartId: Utils.getuuid(),  // 鍥捐〃Id
@@ -78,7 +78,7 @@
               percentFields.push(_column.label)
             }
           })
-        } catch {
+        } catch (e) {
           console.warn('Incorrect percentage setting')
         }
       }

--
Gitblit v1.8.0