소스 검색

常见症状字数限制

liucf 5 년 전
부모
커밋
7d1d3fc16f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/containers/MainSuit.js

+ 1 - 1
src/containers/MainSuit.js

@@ -93,7 +93,7 @@ function mapDispatchToProps(dispatch) {
             for(let j in items){
               tempTotal += items[j].name ;
             }
-            if((tempTotal.length+ tempTotal.length-1) >= config.limited){
+            if((tempTotal.length+ items.length-1) >= config.limited){
               Notify.info(config.limitText);
               return ;
             }