Browse Source

Fixed lint error.

pull/1267/head
ShiTengFei 9 years ago
parent
commit
896c940768
  1. 2
      components/tag/index.jsx

2
components/tag/index.jsx

@ -16,7 +16,7 @@ export default class Tag extends React.Component {
close(e) {
this.props.onClose(e);
if(e.defaultPrevented) return;
if (e.defaultPrevented) return;
const dom = ReactDOM.findDOMNode(this);
dom.style.width = `${dom.offsetWidth}px`;
// It's Magic Code, don't know why

Loading…
Cancel
Save