|
@@ -217,6 +217,12 @@ export default {
|
|
|
message: '密码修改成功!',
|
|
|
type: 'success'
|
|
|
})
|
|
|
+ this.$store.dispatch('user/Logout').then(() => {
|
|
|
+ // location.href = '/index';
|
|
|
+ this.$router.push({path: '/', query: {}})
|
|
|
+ window.location.reload()
|
|
|
+ }).catch(() => {
|
|
|
+ })
|
|
|
this.dialogClose()
|
|
|
}).catch((e) => {
|
|
|
loading.close()
|