From 7051e15582aee4163b3c8dd13dc85f4f1e2ce6eb Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 07 二月 2020 02:11:43 +0800
Subject: [PATCH] 2020-02-07

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

diff --git a/src/tabviews/tableshare/actionList/index.jsx b/src/tabviews/tableshare/actionList/index.jsx
index a0ddc24..a6f359b 100644
--- a/src/tabviews/tableshare/actionList/index.jsx
+++ b/src/tabviews/tableshare/actionList/index.jsx
@@ -177,7 +177,7 @@
           func: 'sPC_TableData_InUpDe',
           BID: this.props.BID
         }
-        let primaryId = setting.primaryKey && data[0] ? data[0][setting.primaryKey] : ''
+        let primaryId = setting.primaryKey && data[0] ? (data[0][setting.primaryKey] || '') : ''
 
         if (btn.OpenType === 'prompt' || btn.OpenType === 'exec') { // 鏄惁寮规鎴栫洿鎺ユ墽琛�
           let ID = ''

--
Gitblit v1.8.0