d0908837 by lihua

修改下设置刷新时机

1 parent 5808442a
......@@ -1088,8 +1088,8 @@ const save = () => {
// name: 'registerCatalogManagement'
path: route.query.dataSources == '1' ? '/data-asset/authordata-catalog' : '/data-asset/register-catalog'
});
userStore.setTabbar(userStore.tabbar.filter((tab: any) => tab.fullPath !== fullPath));
assetStore.setDamCatalogRefresh(true);
userStore.setTabbar(userStore.tabbar.filter((tab: any) => tab.fullPath !== fullPath));
} else {
proxy.$ElMessage.error(res.msg);
}
......@@ -1115,8 +1115,8 @@ const save = () => {
// name: 'registerCatalogManagement'
path: route.query.dataSources == '1' ? '/data-asset/authordata-catalog' : '/data-asset/register-catalog'
});
userStore.setTabbar(userStore.tabbar.filter((tab: any) => tab.fullPath !== fullPath));
assetStore.setDamCatalogRefresh(true);
userStore.setTabbar(userStore.tabbar.filter((tab: any) => tab.fullPath !== fullPath));
} else {
proxy.$ElMessage.error(res.msg);
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!