| | |
| | | |
| | | import zhCN from '@/locales/zh-CN/model.js' |
| | | import enUS from '@/locales/en-US/model.js' |
| | | import MKEmitter from '@/utils/events.js' |
| | | import './index.scss' |
| | | |
| | | const { confirm } = Modal |
| | |
| | | const data = this.state.data.filter(d => d.uuid !== item.uuid) |
| | | |
| | | this.setState({data}) |
| | | MKEmitter.emit('thawButtons', item.uuid) |
| | | this.props.handlelog('revert', data, item) |
| | | } |
| | | |
| | |
| | | |
| | | return ( |
| | | <div className="btn-log-wrap"> |
| | | <Icon type="rollback" onClick={this.trigger} /> |
| | | <Icon type="rollback" title="解除冻结" onClick={this.trigger} /> |
| | | <Modal |
| | | wrapClassName="popview-modal" |
| | | title="历史记录" |