소스 검색

杂音类型超出边界bug修改2536

zhouna 5 년 전
부모
커밋
6e226bef3c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/components/SpreadDrop/index.jsx

+ 1 - 1
src/components/SpreadDrop/index.jsx

@@ -73,7 +73,7 @@ class SpreadDrop extends Component{
       }
     });
     const listWidth = 30+$(this.$list.current).width();
-    if(num >= 5 && windowWidth-getPageCoordinate(e).boxLeft < listWidth){
+    if(num >= 4 && windowWidth-getPageCoordinate(e).boxLeft < listWidth){
       this.setState({
         left:windowWidth-listWidth-150
       })