Commit 85f4cc54 by zhaochengxiang

bug fix

parent 9618f576
......@@ -139,7 +139,7 @@ export const Basic = React.forwardRef(function ({ items, onCheck }, ref) {
type: 'assetmanage.queryResourceManageTree',
callback: data => {
setLoading(false)
const newData = (data??[]).filter(item => item.resourceType !== 'custom')
const newData = (data??[]).filter(item => item.resourceType !== 'custom'||item.type==='custom')
setData(newData)
if ((newData??[]).length > 0) {
const newDataList = []
......
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