fix: profile page click some button redirect to a blank page

This commit is contained in:
wangruidong 2024-06-05 16:20:50 +08:00 committed by w940853815
parent 82689b48ba
commit 1949d76654

View File

@ -175,7 +175,7 @@ export default {
},
callbacks: {
click: function() {
this.$router.push({ name: 'ProfileSetting', query: { tab: 'PasswordUpdate' }})
this.$router.push({ name: 'PasswordAndSSHKey', query: { tab: 'Password' }})
}.bind(this)
}
},
@ -188,7 +188,7 @@ export default {
},
callbacks: {
click: function() {
this.$router.push({ name: 'ProfileSetting', query: { tab: 'SSHUpdate' }})
this.$router.push({ name: 'PasswordAndSSHKey', query: { tab: 'SSHKey' }})
}.bind(this)
}
},