Procházet zdrojové kódy

Merge branch 'dev5.3.1' of http://192.168.2.236:10080/zhouna/newICSS into dev5.3.1

luolei před 5 roky
rodič
revize
f95df186c9
2 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 1 1
      src/containers/MainSuit.js
  2. 1 0
      src/store/reducers/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 ;
             }

+ 1 - 0
src/store/reducers/mainSuit.js

@@ -112,6 +112,7 @@ export default function(state=initState,action){
     case MAIN_REMOVE_SPAN:
       res.data = [];
       res.saveText = [];
+      res.mainIds = [];
       res.editClear = true;
       return res;
     default: