king
2021-11-21 dce3eca3dc273be7a5bd66094b840bb6c4f763c0
src/templates/sharecomponent/actioncomponent/index.jsx
@@ -58,7 +58,14 @@
  componentDidMount () {
    this.getBillPrintTemp()
    MKEmitter.addListener('revert', this.revert)
    MKEmitter.addListener('pasteButton', this.pasteButton)
  }
  revert = () => {
    this.setState({
      actionlist: fromJS(this.props.config.action).toJS()
    })
  }
  pasteButton = (MenuId, btn) => {
@@ -847,6 +854,7 @@
    this.setState = () => {
      return
    }
    MKEmitter.removeListener('revert', this.revert)
    MKEmitter.removeListener('pasteButton', this.pasteButton)
  }