From 5a7e0659e6365709e2f5c02307d5d5b0a6bd1cc8 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 22 二月 2021 17:15:40 +0800
Subject: [PATCH] 2021-02-22

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

diff --git a/src/tabviews/zshare/settingcomponent/editTable/index.jsx b/src/tabviews/zshare/settingcomponent/editTable/index.jsx
index 214f0ad..7f8286f 100644
--- a/src/tabviews/zshare/settingcomponent/editTable/index.jsx
+++ b/src/tabviews/zshare/settingcomponent/editTable/index.jsx
@@ -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