king
2024-06-01 4cc738e535d1a20701d206e12cf9de8cc5a01170
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