From fe5dc955911feb6c376298e618de673da166fcab Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 17 十一月 2021 20:05:30 +0800
Subject: [PATCH] Merge branch 'master' into bms

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

diff --git a/src/tabviews/subtable/index.jsx b/src/tabviews/subtable/index.jsx
index d14a6c6..acb7ec1 100644
--- a/src/tabviews/subtable/index.jsx
+++ b/src/tabviews/subtable/index.jsx
@@ -890,7 +890,7 @@
    * @param {*} position   // 鍒锋柊浣嶇疆
    * @param {*} btn        // 鎵ц鐨勬寜閽�
    */
-  refreshByButtonResult = (menuId, position, btn) => {
+  refreshByButtonResult = (menuId, position, btn, id, lines) => {
     const { MenuID } = this.props
 
     if (MenuID !== menuId) return
@@ -898,7 +898,9 @@
     const { Tab, SupMenuID } = this.props
     const { BID } = this.state
 
-    if (position === 'grid' || position === 'view') {
+    if (position === 'line' && lines && lines.length === 1) {
+      this.loadmainLinedata(lines[0].$$uuid)
+    } else if (position === 'grid' || position === 'view') {
       this.reloadtable(btn)
     } else if (position === 'maingrid' || position === 'mainline') {
       this.reloadtable(btn)

--
Gitblit v1.8.0