|
@@ -25,13 +25,15 @@ export default {
|
|
|
computed: {
|
|
|
...mapGetters(['isrequestAuth'])
|
|
|
},
|
|
|
- mounted() {},
|
|
|
+ mounted() {
|
|
|
+ sessionStorage.setItem('SSOTOKEN', '')
|
|
|
+ },
|
|
|
methods: {
|
|
|
goLogin() {
|
|
|
this.$store.commit('SETSSOTOKEN', null)
|
|
|
sessionStorage.setItem('SSOTOKEN', '')
|
|
|
let ssoServer = ''
|
|
|
- if (window.location.host == 'http://glsms.wanda-dev.cn') {
|
|
|
+ if (process.env.NODE_ENV == 'wanda_dev') {
|
|
|
ssoServer = 'http://oauth.wanda-dev.cn'
|
|
|
} else {
|
|
|
ssoServer = 'http://oauth.wanda.cn'
|