fix: 修复发布机账号查看跳转问题

This commit is contained in:
Eric 2023-02-21 22:02:55 +08:00
parent 703f33629a
commit a085b9b10a

View File

@ -121,6 +121,18 @@ export default {
},
goToAssetAccountsPage() {
const assetId = this.$route.params.id
// todo: system
//
if (this.$router.currentRoute.name === 'AppletHostUpdate') {
this.$router.push({
name: 'AppletHostDetail',
params: { id: assetId },
query: {
activeTab: 'Accounts'
}
})
return
}
this.$router.push({
name: 'AssetDetail',
params: { id: assetId },