| | |
| | | copy = (item) => { |
| | | let msg = { key: 'interface', type: 'line', data: item } |
| | | |
| | | let srcid = localStorage.getItem(window.location.href.split('#')[0] + 'srcId') |
| | | if (srcid) { |
| | | msg.$srcId = srcid |
| | | } |
| | | |
| | | try { |
| | | msg = window.btoa(window.encodeURIComponent(JSON.stringify(msg))) |
| | | } catch (e) { |
| | |
| | | const { visible, setvisible, columns, interfaces, card } = this.state |
| | | |
| | | return ( |
| | | <div style={{display: 'inline-block'}}> |
| | | <div className="mk-sys-interface" style={{display: 'inline-block'}}> |
| | | <Button className="mk-border-green" onClick={this.trigger}><ApiOutlined /> 接口管理</Button> |
| | | <Modal |
| | | title="接口管理" |