diff --git a/components/datepicker/index.jsx b/components/datepicker/index.jsx index a427146c36..9fda2e8f2f 100644 --- a/components/datepicker/index.jsx +++ b/components/datepicker/index.jsx @@ -42,7 +42,7 @@ export default React.createClass({ format: 'yyyy-MM-dd', placeholder: '请选择日期', transitionName: 'slide-up', - onSelect: function () { + onSelect() { } }; },