Commit 352706fa by zhaochengxiang

刷新

parent 055a67b0
......@@ -21,7 +21,9 @@ const AssetDetailDrawer = (props) => {
}}
>
{
visible && <AssetAction form={form} id={id} dirId={dirId} action='detail' readOnly />
visible && <AssetAction form={form} id={id} dirId={dirId} action='detail' readOnly onChange={() => {
onCancel?.(true);
}} />
}
</Drawer>
)
......
......@@ -635,8 +635,9 @@ const AssetTable = (props) => {
refresh && getFilterElementsGroupThenGetDataAssets();
}
const onAssetDetailDrawerCancel = () => {
const onAssetDetailDrawerCancel = (refresh = false) => {
setAssetDetailDrawerVisible(false);
refresh && getDataAssets();
}
const onBatchCatalogChangeBtnClick = () => {
......
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