feat:new
This commit is contained in:
+3
-2
@@ -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='
|
||||
// })
|
||||
|
||||
Reference in New Issue
Block a user