Commit b6be3d5a authored by 李纪文's avatar 李纪文

fix: 修改指标选择

parent 8c2c628f
...@@ -218,6 +218,7 @@ const QuotaSelect = ({ ...@@ -218,6 +218,7 @@ const QuotaSelect = ({
if (e.target.value !== '') { if (e.target.value !== '') {
let newQuotaList = []; let newQuotaList = [];
quotaList.forEach((item) => { quotaList.forEach((item) => {
if (!item.name) return;
if (item.name.indexOf(e.target.value) > -1) newQuotaList.push(item); if (item.name.indexOf(e.target.value) > -1) newQuotaList.push(item);
}); });
setQuotaList(newQuotaList); setQuotaList(newQuotaList);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment