From 5515a793e08f2c9f0c8116960d3043f5bd32ccad Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 15 六月 2021 11:07:02 +0800
Subject: [PATCH] 2021-06-15

---
 src/tabviews/tabmanage/index.jsx |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/tabviews/tabmanage/index.jsx b/src/tabviews/tabmanage/index.jsx
index 7be8cb2..5d37c1d 100644
--- a/src/tabviews/tabmanage/index.jsx
+++ b/src/tabviews/tabmanage/index.jsx
@@ -49,9 +49,9 @@
             return {
               uuid: temp.MenuID,
               value: temp.MenuID,
-              MenuName: temp.MenuName,
+              MenuName: temp.MenuName || '',
               type: temp.Template,
-              MenuNo: temp.MenuNo,
+              MenuNo: temp.MenuNo || '',
               Remark: temp.Remark
             }
           })
@@ -504,7 +504,7 @@
 
     let _tabviews = []
     if (tabviews) {
-      _tabviews = tabviews.filter(tab => tab.MenuName.toLowerCase().indexOf(searchKey.toLowerCase()) >= 0)
+      _tabviews = tabviews.filter(tab => tab.MenuName.toLowerCase().indexOf(searchKey.toLowerCase()) >= 0 || tab.MenuNo.toLowerCase().indexOf(searchKey.toLowerCase()) >= 0)
     }
 
     return (

--
Gitblit v1.8.0