Commit 68bd72f9 authored by 邓晓峰's avatar 邓晓峰
parents 970691d1 5894921d
Pipeline #48033 passed with stages
in 7 minutes 7 seconds
......@@ -20,6 +20,7 @@ const LoginTemplate = {
export default (props) => {
const redirect = getParams('redirect');
useEffect(() => {
if(getParams('loginName') && getParams('password')) return
initGlobalConfig();
}, [redirect]);
const template = window.globalConfig && window.globalConfig.loginTemplate;
......
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