From 569ccb3c1ff82f30ffefa7d3700571448d742662 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 03 十二月 2020 11:46:28 +0800
Subject: [PATCH] 2020-12-03

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

diff --git a/src/components/header/index.jsx b/src/components/header/index.jsx
index 9b0daf0..486af95 100644
--- a/src/components/header/index.jsx
+++ b/src/components/header/index.jsx
@@ -567,6 +567,7 @@
 
     this.props.modifyMainMenu(menulist[0] || null)
     this.props.resetEditLevel(false)
+    this.props.modifyTabview([])
   }
   
   exitEdit = () => {
@@ -594,10 +595,7 @@
       if (visible) {
         setTimeout(() => {
           let input = document.getElementById('thdMenu-search')
-
-          if (input) {
-            input.focus()
-          }
+          input && input.focus()
         }, 500)
       }
     })

--
Gitblit v1.8.0