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

fix: 修改指标选择组件

parent 08c645cf
...@@ -74,7 +74,6 @@ const QuotaSelect = ({ ...@@ -74,7 +74,6 @@ const QuotaSelect = ({
key: child.name, key: child.name,
})) }))
: []; : [];
debugger;
setAllQuotaList(data); setAllQuotaList(data);
setSelectData(data.filter((child) => child.checked)); setSelectData(data.filter((child) => child.checked));
} else { } else {
...@@ -131,7 +130,6 @@ const QuotaSelect = ({ ...@@ -131,7 +130,6 @@ const QuotaSelect = ({
}, [quotaList]); }, [quotaList]);
useEffect(() => { useEffect(() => {
debugger;
if (targetValue === 'emphasis') { if (targetValue === 'emphasis') {
filterEmphasisQuota(); filterEmphasisQuota();
} else { } else {
......
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