mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 21:19:37 +08:00
use arrow function
This commit is contained in:
parent
e95e557077
commit
c3294dfc64
@ -63,9 +63,7 @@ export default React.createClass({
|
||||
// 100ms 内发生过点击事件,则从点击位置动画展示
|
||||
// 否则直接 zoom 展示
|
||||
// 这样可以兼容非点击方式展开
|
||||
setTimeout(function() {
|
||||
mousePosition = null;
|
||||
}, 100);
|
||||
setTimeout(() => mousePosition = null, 100);
|
||||
});
|
||||
mousePositionEventBinded = true;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user