This commit is contained in:
super_liu
2021-12-31 09:45:15 +08:00
parent 9ccb0a6635
commit 7e27310dd5
3 changed files with 11 additions and 6 deletions
+3 -2
View File
@@ -83,7 +83,7 @@
<script>
import {mapGetters, mapState} from 'vuex'
import {webLoginType} from '@/sysConfig'
import {webLoginType,ssoLogoutUrlDev} from '@/sysConfig'
export default {
name: 'App',
@@ -105,7 +105,8 @@ export default {
roundButton: false
}).then(() => {
if (webLoginType != null && webLoginType === 'idm') {
window.location.href = 'http://sso.foton.com.cn/logout?service='
this.$store.dispatch('logout')
window.location.href = ssoLogoutUrlDev
// this.$http.post('logout', {}, res => {
// window.location.href= 'http://testsso1.foton.com.cn/logout?service='
// })