From a181fc113d024ed34d6b488c65882961bd1de3f4 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 02 六月 2020 19:00:57 +0800
Subject: [PATCH] 2020-06-02

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

diff --git a/src/tabviews/formtab/index.jsx b/src/tabviews/formtab/index.jsx
index f185a68..4bf485d 100644
--- a/src/tabviews/formtab/index.jsx
+++ b/src/tabviews/formtab/index.jsx
@@ -570,11 +570,11 @@
    * @description 瀛愯〃鎿嶄綔瀹屾垚鍚庡埛鏂颁富琛�
    */
   handleMainTable = (type, tab) => {
-    if (type === 'maingrid' && tab.supMenu === 'mainTable') {
+    if ((type === 'maingrid' || type === 'mainline') && tab.supMenu === 'mainTable') {
       this.loadmaindata()
-    } else if (type === 'maingrid' && tab.supMenu) {
+    } else if ((type === 'maingrid' || type === 'mainline') && tab.supMenu) {
       this.setState({
-        refreshtabs: [tab.supMenu]
+        refreshtabs: [type, tab.supMenu]
       }, () => {
         this.setState({
           refreshtabs: null

--
Gitblit v1.8.0