浏览代码

清单指引搜索支持名称

zhongzewei 7 年之前
父节点
当前提交
5b6e144e59
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      web/maintain/billsGuidance_lib/js/billsGuidance.js

+ 1 - 1
web/maintain/billsGuidance_lib/js/billsGuidance.js

@@ -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();