fix(carousel): fade 效果下不允许拖拽, Close #212

This commit is contained in:
sorrycc 2015-08-28 13:55:36 +08:00
parent 74b0bb28d1
commit 975c4d784f

View File

@ -14,6 +14,7 @@ const AntCarousel = React.createClass({
if (props.effect === 'fade') {
props.fade = true;
props.draggable = false;
}
let className = 'ant-carousel';