diff --git a/src/main.js b/src/main.js index 803cf9d99..aeddc2492 100644 --- a/src/main.js +++ b/src/main.js @@ -71,6 +71,10 @@ router.beforeEach(function (to, from, next) { return } + if(webLoginType === 'idm' && toName === 'Login'){ + window.location.href = ssoLoginUrlDev + } + let fromName = from.name let token = store.state.token let path = to.path;