You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by GitBox <gi...@apache.org> on 2020/09/16 10:39:20 UTC

[GitHub] [cloudstack-primate] rhtyd commented on a change in pull request #716: usermenu: Forgetting path when manually logging out

rhtyd commented on a change in pull request #716:
URL: https://github.com/apache/cloudstack-primate/pull/716#discussion_r489338867



##########
File path: src/components/header/UserMenu.vue
##########
@@ -66,7 +66,7 @@ export default {
     ...mapGetters(['nickname', 'avatar']),
     handleLogout () {
       return this.Logout({}).then(() => {
-        window.location.reload()
+        this.$router.push('/user/login')
       }).catch(err => {
         this.$message.error({
           title: '错误',

Review comment:
       localise this?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org