|
@@ -12,7 +12,7 @@ import {CURRENT_CONFIRM,SETMAINCHECKBOX,CURRENT_TEXT_LABEL,CURRENT_GET_BIGDATAPU
|
|
|
import {getLabelIndex,fullfillText,getIds} from '@common/js/func.js';
|
|
|
import {billing} from '@store/async-actions/pushMessage';
|
|
|
import {Notify} from '@commonComp';
|
|
|
-import {filterArr,didPushParamChange} from '@utils/tools.js';
|
|
|
+import {filterArr,didPushParamChange,filterDataArr} from '@utils/tools.js';
|
|
|
import config from '@config/index.js';
|
|
|
|
|
|
function mapStateToProps(state) {
|
|
@@ -44,7 +44,7 @@ function mainSuitModule(dispatch,store,params){
|
|
|
let existsName = getNames(exists);
|
|
|
let withsName = getNames(withs);
|
|
|
let banName = ban.name;
|
|
|
- let text = filterArr(mainSaveText);
|
|
|
+ let text = filterDataArr(mainSaveText);
|
|
|
if(text.length >= config.limited){
|
|
|
Notify.info(config.limitText);
|
|
|
return
|
|
@@ -173,7 +173,7 @@ function handleModuleDiff(dispatch,store,params){
|
|
|
const {type,mainSaveText} = params;
|
|
|
switch (+type){
|
|
|
case 1:
|
|
|
- /*let text = filterArr(mainSaveText);
|
|
|
+ /*let text = filterDataArr(mainSaveText);
|
|
|
if(text.length >= config.limited){
|
|
|
Notify.info(config.limitText);
|
|
|
return
|
|
@@ -200,7 +200,7 @@ function handleModuleDiff(dispatch,store,params){
|
|
|
function mainSuitCheck(dispatch,store,params){
|
|
|
const {nones,exists,withs,order,mainSaveText,value} = params;
|
|
|
let existsName = getNames(exists,order);
|
|
|
- let text = filterArr(mainSaveText);
|
|
|
+ let text = filterDataArr(mainSaveText);
|
|
|
if(text.length >= config.limited){
|
|
|
Notify.info(config.limitText);
|
|
|
return
|
|
@@ -262,7 +262,7 @@ function handleCheckBox(dispatch,store,params){
|
|
|
const {type,mainSaveText} = params;
|
|
|
switch (+type){
|
|
|
case 1:
|
|
|
- /*let text = filterArr(mainSaveText);
|
|
|
+ /*let text = filterDataArr(mainSaveText);
|
|
|
if(text.length >= config.limited){
|
|
|
Notify.info(config.limitText);
|
|
|
return
|