Commit ed0ac113 by 放生的三文鱼

没有选择目录也有资源

parent a957d1c4
......@@ -543,7 +543,6 @@ const AssetManageTree = (props) => {
}
const deleteDir = () => {
console.log('currentRightClickDir', currentRightClickDir)
if (currentRightClickDir.nodeId) {
modal.confirm({
title: '您确定要删除该目录吗?',
......@@ -846,7 +845,6 @@ const AssetManageTree = (props) => {
'asset-manage-tree-asset-mount-reference': reference===AssetMountReference,
});
console.log(currentRightClickDir)
return (
<Card
......
......@@ -303,11 +303,11 @@ const AssetTable = (props) => {
}, [timestamp])
useDebounceEffect(() => {
if (reference !== AssetRecycleReference && nodeId) {
if (reference !== AssetRecycleReference) {
getFilterElementsGroupThenGetDataAssets();
}
//eslint-disable-next-line react-hooks/exhaustive-deps
}, [keyword, pagination, elementsChanged, assetActionChanged, recursive, fullSearch, currentElementId, nodeId], { wait: 300 })
}, [keyword, pagination, elementsChanged, assetActionChanged, recursive, fullSearch, currentElementId, nodeId], { wait: 650 })
useEffect(() => {
if (reference === AssetRecycleReference) {
......@@ -412,7 +412,6 @@ const AssetTable = (props) => {
temp = {...asset,...temp}
data.push(temp)
});
console.log('assets',assets);
return data
},[assets,columns])
......
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