mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-25 14:25:23 +00:00
fix: profile page click some button redirect to a blank page
This commit is contained in:
@@ -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)
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user