Parcourir la source

常见症状字数限制

liucf il y a 5 ans
Parent
commit
7d1d3fc16f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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 ;
             }