diff --git a/components/modal/demo/modal-render.md b/components/modal/demo/modal-render.md index 7880b614ec..81a614ec52 100644 --- a/components/modal/demo/modal-render.md +++ b/components/modal/demo/modal-render.md @@ -59,13 +59,13 @@ class App extends React.Component { onMouseOver={() => { if (this.state.disabled) { this.setState({ - disabled: true, + disabled: false, }); } }} onMouseOut={() => { this.setState({ - disabled: false, + disabled: true, }); }} // fix eslintjsx-a11y/mouse-events-have-key-events