|
@@ -129,9 +129,9 @@ router.beforeEach((to, from, next) => {
|
|
|
}).catch(() => {
|
|
|
store.dispatch('FedLogOut').then(() => {
|
|
|
Message.error('Verification failed, please login again')
|
|
|
- // const prodHref = 'http://dgt.dgtis.com/oneportal/login';//正式地址
|
|
|
+ const prodHref = 'http://dgt.dgtis.com/oneportal/login';//正式地址
|
|
|
|
|
|
- const prodHref = 'http://dgtcloud.dgtis.com/oneportal/login';//阿里云地址
|
|
|
+ // const prodHref = 'http://dgtcloud.dgtis.com/oneportal/login';//阿里云地址
|
|
|
|
|
|
const devHref = 'http://192.168.100.208:8080/oneportal/login';//测试地址
|
|
|
|
|
@@ -154,9 +154,9 @@ router.beforeEach((to, from, next) => {
|
|
|
if (whiteList.indexOf(to.path) !== -1) { // 在免登录白名单,直接进入
|
|
|
next()
|
|
|
} else {
|
|
|
- // const prodHref = 'http://dgt.dgtis.com/oneportal/login';//正式地址
|
|
|
+ const prodHref = 'http://dgt.dgtis.com/oneportal/login';//正式地址
|
|
|
|
|
|
- const prodHref = 'http://dgtcloud.dgtis.com/oneportal/login';//阿里云地址
|
|
|
+ // const prodHref = 'http://dgtcloud.dgtis.com/oneportal/login';//阿里云地址
|
|
|
|
|
|
const devHref = 'http://192.168.100.208:8080/oneportal/login';//测试地址
|
|
|
|