Commit edb427b6 by zhaochengxiang

bug fix

parent a34fbb71
...@@ -218,16 +218,14 @@ const AssetAction = (props) => { ...@@ -218,16 +218,14 @@ const AssetAction = (props) => {
const tableData = useMemo(() => { const tableData = useMemo(() => {
if (metadataColumnList) { if (metadataColumnList) {
const newMetadataColumnList = []; const newMetadataColumnList = metadataColumnList.filter(item => {
metadataColumnList.filter(item => {
return ( return (
!keyword !keyword
|| (item.name??'').indexOf(keyword)!==-1 || (item.name??'').indexOf(keyword)!==-1
|| (item.cnName??'').indexOf(keyword)!==-1 || (item.cnName??'').indexOf(keyword)!==-1
|| (item.businessRules??'').indexOf(keyword)!==-1 || (item.businessRules??'').indexOf(keyword)!==-1
) )
}) });
return paginate(newMetadataColumnList, pageNum, pageSize); return paginate(newMetadataColumnList, pageNum, pageSize);
} }
......
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