From 0293adcec6042961d5071e01c0d4a9a4b5c17562 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 11 一月 2021 19:03:19 +0800
Subject: [PATCH] 2021-01-11

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

diff --git a/src/tabviews/scriptmanage/index.jsx b/src/tabviews/scriptmanage/index.jsx
index 8e48202..64395fb 100644
--- a/src/tabviews/scriptmanage/index.jsx
+++ b/src/tabviews/scriptmanage/index.jsx
@@ -86,8 +86,10 @@
             subcols.push(colMap.get(sub))
           }
         })
-        _col.subcols = subcols
-        _columns.push(_col)
+        if (subcols.length > 0) {
+          _col.subcols = subcols
+          _columns.push(_col)
+        }
       } else {
         _columns.push(col)
       }

--
Gitblit v1.8.0