修改下设置刷新时机
Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -1088,8 +1088,8 @@ const save = () => { | ... | @@ -1088,8 +1088,8 @@ const save = () => { |
| 1088 | // name: 'registerCatalogManagement' | 1088 | // name: 'registerCatalogManagement' |
| 1089 | path: route.query.dataSources == '1' ? '/data-asset/authordata-catalog' : '/data-asset/register-catalog' | 1089 | path: route.query.dataSources == '1' ? '/data-asset/authordata-catalog' : '/data-asset/register-catalog' |
| 1090 | }); | 1090 | }); |
| 1091 | userStore.setTabbar(userStore.tabbar.filter((tab: any) => tab.fullPath !== fullPath)); | ||
| 1092 | assetStore.setDamCatalogRefresh(true); | 1091 | assetStore.setDamCatalogRefresh(true); |
| 1092 | userStore.setTabbar(userStore.tabbar.filter((tab: any) => tab.fullPath !== fullPath)); | ||
| 1093 | } else { | 1093 | } else { |
| 1094 | proxy.$ElMessage.error(res.msg); | 1094 | proxy.$ElMessage.error(res.msg); |
| 1095 | } | 1095 | } |
| ... | @@ -1115,8 +1115,8 @@ const save = () => { | ... | @@ -1115,8 +1115,8 @@ const save = () => { |
| 1115 | // name: 'registerCatalogManagement' | 1115 | // name: 'registerCatalogManagement' |
| 1116 | path: route.query.dataSources == '1' ? '/data-asset/authordata-catalog' : '/data-asset/register-catalog' | 1116 | path: route.query.dataSources == '1' ? '/data-asset/authordata-catalog' : '/data-asset/register-catalog' |
| 1117 | }); | 1117 | }); |
| 1118 | userStore.setTabbar(userStore.tabbar.filter((tab: any) => tab.fullPath !== fullPath)); | ||
| 1119 | assetStore.setDamCatalogRefresh(true); | 1118 | assetStore.setDamCatalogRefresh(true); |
| 1119 | userStore.setTabbar(userStore.tabbar.filter((tab: any) => tab.fullPath !== fullPath)); | ||
| 1120 | } else { | 1120 | } else { |
| 1121 | proxy.$ElMessage.error(res.msg); | 1121 | proxy.$ElMessage.error(res.msg); |
| 1122 | } | 1122 | } | ... | ... |
-
Please register or sign in to post a comment