From 08cce3334a2dc81d690b518136b0aaea64e48b0b Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 14 六月 2023 09:55:50 +0800 Subject: [PATCH] 2023-06-14 --- src/menu/sysinterface/index.jsx | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/menu/sysinterface/index.jsx b/src/menu/sysinterface/index.jsx index 240fea2..a486c0e 100644 --- a/src/menu/sysinterface/index.jsx +++ b/src/menu/sysinterface/index.jsx @@ -52,7 +52,6 @@ dataIndex: 'operation', render: (text, record) => (<div style={{textAlign: 'center'}}> - <DataSource config={record} updateConfig={this.update}/> <span onClick={() => this.handleStatus(record)} style={{color: '#8E44AD', cursor: 'pointer', fontSize: '16px', marginRight: '15px'}}><SwapOutlined /></span> <span onClick={() => this.copy(record)} style={{color: '#26C281', cursor: 'pointer', fontSize: '16px', marginRight: '15px'}}><CopyOutlined /></span> <Popconfirm @@ -60,8 +59,9 @@ title="纭畾鍒犻櫎锛�" onConfirm={() => this.deleteScript(record) }> - <span style={{color: '#ff4d4f', cursor: 'pointer', fontSize: '16px'}}><DeleteOutlined /></span> + <span style={{color: '#ff4d4f', cursor: 'pointer', fontSize: '16px', marginRight: '15px'}}><DeleteOutlined /></span> </Popconfirm> + <DataSource config={record} updateConfig={this.update}/> </div>) } ] @@ -221,6 +221,7 @@ this.setState({ interfaces }) this.props.updateConfig({...config, interfaces}) + MKEmitter.emit('editLineId', record.uuid) setTimeout(() => { MKEmitter.emit('mkUpdateInter', record, {delay: 0}) }, 10) @@ -253,7 +254,7 @@ return ( <div className="mk-sys-interface" style={{display: 'inline-block'}}> - <Button className="mk-border-green" onClick={this.trigger}><DatabaseOutlined /> 鍏叡鏁版嵁婧�</Button> + <Button className="mk-border-danger" onClick={this.trigger}><DatabaseOutlined /> 鍏叡鏁版嵁婧�</Button> <Modal title="鍏叡鏁版嵁婧�" wrapClassName="interface-controller-modal" -- Gitblit v1.8.0