From 8a1ee7d651500f848a3c2f05c7fe3be2b7114a43 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 10 四月 2024 00:47:56 +0800
Subject: [PATCH] 2024-04-10

---
 src/tabviews/zshare/actionList/popupbutton/index.jsx |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/tabviews/zshare/actionList/popupbutton/index.jsx b/src/tabviews/zshare/actionList/popupbutton/index.jsx
index 7a358c3..7c57f0a 100644
--- a/src/tabviews/zshare/actionList/popupbutton/index.jsx
+++ b/src/tabviews/zshare/actionList/popupbutton/index.jsx
@@ -174,9 +174,9 @@
     let _data = null
     let primaryId = ''
 
-    if (btn.Ot === 'requiredSgl' && setting.primaryKey) {
+    if (btn.Ot === 'requiredSgl') {
       _data = data[0]
-      primaryId = _data.$$uuid || _data[setting.primaryKey] || ''
+      primaryId = _data.$$uuid || ''
     }
 
     this.setState({

--
Gitblit v1.8.0