Commit 352706fa by zhaochengxiang

刷新

parent 055a67b0
...@@ -21,7 +21,9 @@ const AssetDetailDrawer = (props) => { ...@@ -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> </Drawer>
) )
......
...@@ -635,8 +635,9 @@ const AssetTable = (props) => { ...@@ -635,8 +635,9 @@ const AssetTable = (props) => {
refresh && getFilterElementsGroupThenGetDataAssets(); refresh && getFilterElementsGroupThenGetDataAssets();
} }
const onAssetDetailDrawerCancel = () => { const onAssetDetailDrawerCancel = (refresh = false) => {
setAssetDetailDrawerVisible(false); setAssetDetailDrawerVisible(false);
refresh && getDataAssets();
} }
const onBatchCatalogChangeBtnClick = () => { 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