Commit e878e344 authored by 杨思琦's avatar 杨思琦

fix: 登录修改

parent 406ba647
Pipeline #79913 passed with stages
...@@ -82,7 +82,7 @@ export default (props) => { ...@@ -82,7 +82,7 @@ export default (props) => {
AppInitState(); AppInitState();
} }
}, []); }, []);
if(Object.keys(window.globalConfig || {}).length === 0) return null; if(Object.keys(window.globalConfig || {}).length === 0 || (window.globalConfig && !window.globalConfig.loginTemplate)) return null;
let template = window.globalConfig && window.globalConfig.loginTemplate; let template = window.globalConfig && window.globalConfig.loginTemplate;
let arr =template.split('|') let arr =template.split('|')
let loginParams=[] let loginParams=[]
......
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