From c62724a2cdbafa3c660538955acbedafa5a01871 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期六, 01 六月 2024 15:25:21 +0800 Subject: [PATCH] Merge branch 'master' into positec --- src/templates/zshare/editTable/index.jsx | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/templates/zshare/editTable/index.jsx b/src/templates/zshare/editTable/index.jsx index fcc5e6d..9ce9e95 100644 --- a/src/templates/zshare/editTable/index.jsx +++ b/src/templates/zshare/editTable/index.jsx @@ -366,7 +366,7 @@ if (list) { Modal.info({ title: '', - width: 500, + width: 700, className: 'sql-example', icon: null, content: list.map((n, index) => <div key={index} dangerouslySetInnerHTML={{ __html: n }}></div>) @@ -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