mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-17 22:37:18 +00:00
fix: profile page click some button redirect to a blank page
This commit is contained in:
parent
82689b48ba
commit
1949d76654
@ -175,7 +175,7 @@ export default {
|
|||||||
},
|
},
|
||||||
callbacks: {
|
callbacks: {
|
||||||
click: function() {
|
click: function() {
|
||||||
this.$router.push({ name: 'ProfileSetting', query: { tab: 'PasswordUpdate' }})
|
this.$router.push({ name: 'PasswordAndSSHKey', query: { tab: 'Password' }})
|
||||||
}.bind(this)
|
}.bind(this)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -188,7 +188,7 @@ export default {
|
|||||||
},
|
},
|
||||||
callbacks: {
|
callbacks: {
|
||||||
click: function() {
|
click: function() {
|
||||||
this.$router.push({ name: 'ProfileSetting', query: { tab: 'SSHUpdate' }})
|
this.$router.push({ name: 'PasswordAndSSHKey', query: { tab: 'SSHKey' }})
|
||||||
}.bind(this)
|
}.bind(this)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user