From 063b983daaf51a7f1e8677bde1e9c0e618866c91 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 21 二月 2020 10:30:19 +0800
Subject: [PATCH] 2020-02-21

---
 src/tabviews/commontable/index.jsx |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/tabviews/commontable/index.jsx b/src/tabviews/commontable/index.jsx
index 544400a..44b4dc8 100644
--- a/src/tabviews/commontable/index.jsx
+++ b/src/tabviews/commontable/index.jsx
@@ -710,7 +710,7 @@
           parentId: this.props.MenuID,
           btn: btn,
           data: data[0] || null,
-          primaryId: _primaryId,
+          primaryId: btn.Ot !== 'notRequired' ? _primaryId : '',
           arr_field: this.state.arr_field
         }
       }
@@ -742,7 +742,7 @@
         tabParam: {
           btn: btn,
           data: data[0] || null,
-          primaryId: _primaryId,
+          primaryId: btn.Ot !== 'notRequired' ? _primaryId : '',
           arr_field: this.state.arr_field
         }
       })
@@ -874,6 +874,12 @@
               )
             })
           }
+          <Button
+            icon="copy"
+            shape="circle"
+            className="common-table-copy"
+            onClick={this.copyMenuNo}
+          />
           <Modal
             className="popview-modal"
             title={this.state.popAction.label}

--
Gitblit v1.8.0