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