From f9e4be602f547ec849e2567003943a238c670e4d Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 30 五月 2024 16:25:51 +0800
Subject: [PATCH] 2024-05-30

---
 src/templates/zshare/editTable/index.jsx |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/templates/zshare/editTable/index.jsx b/src/templates/zshare/editTable/index.jsx
index 2c9ecc4..9ce9e95 100644
--- a/src/templates/zshare/editTable/index.jsx
+++ b/src/templates/zshare/editTable/index.jsx
@@ -828,7 +828,7 @@
     
     let  columns = this.state.columns.map(col => {
       if (col.copy) {
-        col.render = (text) => (<Paragraph copyable>{text}</Paragraph>)
+        col.render = (text, record) => (<Paragraph copyable={{ text: text, onCopy: () => this.setState({editLineId: record.uuid}) }}>{text}</Paragraph>)
       }
 
       if (!col.editable) return col

--
Gitblit v1.8.0