今天遇到一個詭異的問題。button 上的點擊事件觸發不了。
找個幾個小時,原因是 js 報錯了。
<Button type="primary" htmlType="submit" onClick={this.handleDraft} style={hidden}>存為草稿</Button> <Button type="primary" htmlType="submit" onClick={this.handleNoDraft} style={hidden}>發布活動</Button>
今天遇到一個詭異的問題。button 上的點擊事件觸發不了。
找個幾個小時,原因是 js 報錯了。
<Button type="primary" htmlType="submit" onClick={this.handleDraft} style={hidden}>存為草稿</Button> <Button type="primary" htmlType="submit" onClick={this.handleNoDraft} style={hidden}>發布活動</Button>
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。