Commit cab9aa35 by zhaochengxiang

资产变更目录之后,选中状态初始化

parent 06dc4e4c
...@@ -475,7 +475,11 @@ const AssetTable = (props) => { ...@@ -475,7 +475,11 @@ const AssetTable = (props) => {
const onAssetMountCancel = (refresh = false) => { const onAssetMountCancel = (refresh = false) => {
setAssetMountVisible(false); setAssetMountVisible(false);
refresh && getDataAssets();
if (refresh) {
setCheckedKeys([]);
getDataAssets();
}
} }
const importAsset = () => { const importAsset = () => {
......
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