|
@@ -81,16 +81,6 @@ export default {
|
|
|
logout() {
|
|
|
this.$confirm("是否确定退出系统").then(() => {
|
|
|
window.location.href = `https://login.iam.com/apphub/logout`;
|
|
|
- // if (getSettingBool("IS_OAUTH2")) {
|
|
|
- // let logoutUrl =
|
|
|
- // window.sessionStorage["authorizeUrl"] + `/logout?redirect_uri=${window.location.href}`;
|
|
|
- // this.$store.dispatch("LogoutOauth", logoutUrl);
|
|
|
- // } else {
|
|
|
- // this.$store.dispatch("Logout").then(() => {
|
|
|
- // this.$router.push(`/login?redirect=${this.$route.fullPath}`);
|
|
|
- // location.reload(); // In order to re-instantiate the vue-router object to avoid bugs
|
|
|
- // });
|
|
|
- // }
|
|
|
});
|
|
|
},
|
|
|
handleClickSearch() {
|