From 944730f2794b87aa053f53084f0d082d4af6fd41 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 29 十月 2020 19:03:30 +0800
Subject: [PATCH] 2020-10-29

---
 src/tabviews/zshare/actionList/tabbutton/index.jsx |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/tabviews/zshare/actionList/tabbutton/index.jsx b/src/tabviews/zshare/actionList/tabbutton/index.jsx
index 9e82dce..389be69 100644
--- a/src/tabviews/zshare/actionList/tabbutton/index.jsx
+++ b/src/tabviews/zshare/actionList/tabbutton/index.jsx
@@ -135,7 +135,11 @@
     }
 
     this.setState({}, () => {
-      tabs.splice(index + 1, 0, newtab)
+      if (MenuID) {
+        tabs.splice(index + 1, 0, newtab)
+      } else {
+        tabs.push(newtab)
+      }
       this.props.modifyTabview(tabs)
     })
 

--
Gitblit v1.8.0