|
@@ -29,7 +29,7 @@ export default {
|
|
methods: {
|
|
methods: {
|
|
goLogin() {
|
|
goLogin() {
|
|
let ssoServer = ''
|
|
let ssoServer = ''
|
|
- if (location.host == 'http://glsms.wanda-dev.cn') {
|
|
|
|
|
|
+ if (window.location.host == 'http://glsms.wanda-dev.cn') {
|
|
ssoServer = 'http://oauth.wanda-dev.cn'
|
|
ssoServer = 'http://oauth.wanda-dev.cn'
|
|
} else {
|
|
} else {
|
|
ssoServer = 'http://oauth.wanda.cn'
|
|
ssoServer = 'http://oauth.wanda.cn'
|