From f3167f8371d19d0ea8fe7d0e7af5517ff0b08cd2 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 07 四月 2021 23:25:29 +0800
Subject: [PATCH] 2021-04-07

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

diff --git a/src/tabviews/zshare/settingcomponent/editTable/index.jsx b/src/tabviews/zshare/settingcomponent/editTable/index.jsx
index 214f0ad..f12eace 100644
--- a/src/tabviews/zshare/settingcomponent/editTable/index.jsx
+++ b/src/tabviews/zshare/settingcomponent/editTable/index.jsx
@@ -7,7 +7,7 @@
 import enUS from '@/locales/en-US/model.js'
 import './index.scss'
 
-let eTDict = localStorage.getItem('lang') !== 'en-US' ? zhCN : enUS
+let eTDict = sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS
 const EditableContext = React.createContext()
 const shortkeycode = {
   65: 'A', 66: 'B', 67: 'C', 68: 'D', 69: 'E', 70: 'F', 71: 'G', 72: 'H', 73: 'I', 74: 'J', 75: 'K', 76: 'L', 77: 'M',
@@ -21,7 +21,7 @@
     if (inputType === 'select') {
       let _options = []
       if (record.$port) {
-        _options = window.GLOB.UserCacheMap.get(record.$port)
+        _options = window.GLOB.UserCacheMap.get(record.$port) || []
       }
       return (
         <Select allowClear>

--
Gitblit v1.8.0