修改 筛选 快速查找list中出现异常数据的 bug review by days
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -64,7 +64,7 @@ function processData(data){ | @@ -64,7 +64,7 @@ function processData(data){ | ||
64 | let key = item.brand_alif?item.brand_alif:item.name; | 64 | let key = item.brand_alif?item.brand_alif:item.name; |
65 | if (Utils.isContains(key,'全部') || Utils.isContains(key,'所有')) { | 65 | if (Utils.isContains(key,'全部') || Utils.isContains(key,'所有')) { |
66 | allObj = item; | 66 | allObj = item; |
67 | - }else if (!regChar(key)) { | 67 | + }else if (!regChar(key) || key.length > 1) { |
68 | specialList.push(item); | 68 | specialList.push(item); |
69 | } else{ | 69 | } else{ |
70 | if (!latterObject[key]) { | 70 | if (!latterObject[key]) { |
-
Please register or login to post a comment