Commit 0c362d16 authored by 张瑶's avatar 张瑶

fix: 修复免密加载登录

parent f75c946e
Pipeline #41981 passed with stages
in 2 minutes 10 seconds
This diff is collapsed.
...@@ -44,7 +44,7 @@ class Login { ...@@ -44,7 +44,7 @@ class Login {
loginName = params.getParams('loginName') ? params.getParams('loginName'): loginName; loginName = params.getParams('loginName') ? params.getParams('loginName'): loginName;
const redirect = params.getParams('redirect'); const redirect = params.getParams('redirect');
if(redirect) { if(redirect) {
this.globalConfig.homepage = redirect; this.globalConfig.homepage = redirect;
this.globalConfig.layout = 'blank'; this.globalConfig.layout = 'blank';
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment