fix: SSO登录退出相关问题

This commit is contained in:
CaptainB 2022-10-22 12:32:10 +08:00
parent 88eee1d3f6
commit f8cc98446e
1 changed files with 4 additions and 1 deletions

View File

@ -189,7 +189,10 @@ export default {
activated() {
this.initTableData();
this.$router.replace({query: null})
// remove router query _token _csrf
if (this.$route.query && Object.keys(this.$route.query).length > 0) {
this.$router.replace({query: null});
}
},
methods: {
currentUser: () => {