Bladeren bron

常见症状字数限制

liucf 5 jaren geleden
bovenliggende
commit
7d1d3fc16f
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  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 ;
             }