| | |
| | | import { Button, message } from 'antd' |
| | | |
| | | import MKEmitter from '@/utils/events.js' |
| | | import './index.scss' |
| | | // import './index.scss' |
| | | |
| | | class AutoMatic extends Component { |
| | | static propTpyes = { |
| | |
| | | const { running } = this.state |
| | | |
| | | return ( |
| | | <Button |
| | | icon={running ? 'pause' : 'forward'} |
| | | shape="circle" |
| | | className={'auto-matic ' + (window.GLOB.systemType === 'production' ? 'low' : '')} |
| | | onClick={this.trigger} |
| | | /> |
| | | <div className="tool-wrap"> |
| | | <Button icon={running ? 'pause' : 'forward'} shape="circle" onClick={this.trigger}/> |
| | | </div> |
| | | ) |
| | | } |
| | | } |