|
@@ -1008,7 +1008,7 @@ const billsGuidance = (function () {
|
|
|
else{
|
|
|
let reg = new RegExp(searchStr, 'i');
|
|
|
ration.cache = _.filter(ration.datas, function (data) {
|
|
|
- return reg.test(data.code);
|
|
|
+ return reg.test(data.code) || reg.test(data.name);
|
|
|
});
|
|
|
}
|
|
|
$('.top-content').hide();
|