From 2f952c67cb4eddd4ad916a8418b3aee4cae82111 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 02 十一月 2021 10:00:09 +0800
Subject: [PATCH] 2021-11-02

---
 src/tabviews/subtable/index.jsx |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/tabviews/subtable/index.jsx b/src/tabviews/subtable/index.jsx
index e17dc76..3a843c5 100644
--- a/src/tabviews/subtable/index.jsx
+++ b/src/tabviews/subtable/index.jsx
@@ -373,7 +373,7 @@
         return
       }
     }
-    
+
     if (this.props.Tab.supMenu && !BID) { // 涓昏〃ID涓嶅瓨鍦ㄦ椂锛屼笉鏌ヨ瀛愯〃
       this.setState({
         data: [],
@@ -916,12 +916,15 @@
 
   changeTableLine = (ContainerId, tableId, id, data) => {
     const { Tab } = this.props
+    const { setting } = this.state
 
     if (!Tab.supMenu || tableId !== Tab.supMenu) return
 
     this.setState({BData: data, BID: id})
 
-    if (id !== this.state.BID) {
+    if (!setting) return
+
+    if (id !== this.state.BID || id !== '') {
       MKEmitter.emit('resetTable', this.props.Tab.uuid) // 鍒楄〃閲嶇疆
       this.setState({
         pageIndex: 1

--
Gitblit v1.8.0