今天遇到一个诡异的问题。button 上的点击事件触发不了。

找个几个小时,原因是 js 报错了

js(react.js) button click 事件无法触发

<Button type="primary" htmlType="submit" onClick={this.handleDraft} style={hidden}>存为草稿</Button>
  
<Button type="primary" htmlType="submit" onClick={this.handleNoDraft} style={hidden}>发布活动</Button>

 

相关文章:

  • 2022-12-23
  • 2021-07-29
  • 2021-05-17
  • 2021-07-26
  • 2021-08-12
猜你喜欢
  • 2021-11-20
  • 2022-01-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案