Commit 92bbe8fb authored by 邓超's avatar 邓超

fix: 修改江西登录模板4A改为OA

parent c3fd5d51
Pipeline #77061 passed with stages
...@@ -40,12 +40,12 @@ const Login = forwardRef((props, _ref) => { ...@@ -40,12 +40,12 @@ const Login = forwardRef((props, _ref) => {
const history = useHistory(); const history = useHistory();
const [action, setAction] = useState(() => new LoginAction(Object.assign({}, props, { history }), setVisible, false)); const [action, setAction] = useState(() => new LoginAction(Object.assign({}, props, { history }), setVisible, false));
const [dateObj, setDateObj] = useState({}); const [dateObj, setDateObj] = useState({});
const [loginType, setLoginType] = useState('4A账号'); const [loginType, setLoginType] = useState('OA账号');
const handleSubmit = values => { const handleSubmit = values => {
/* eslint-disable */ /* eslint-disable */
action && action &&
(type === 'Account' (type === 'Account'
? loginType === '4A账号' ? loginType === 'OA账号'
? action.loginHandlerJiangXi(values.userName, values.password, null, autoLogin, sliVerify) ? action.loginHandlerJiangXi(values.userName, values.password, null, autoLogin, sliVerify)
: action.loginHandler(values.userName, values.password, null, autoLogin, sliVerify) : action.loginHandler(values.userName, values.password, null, autoLogin, sliVerify)
: type === 'Mobile' : type === 'Mobile'
...@@ -181,10 +181,10 @@ const Login = forwardRef((props, _ref) => { ...@@ -181,10 +181,10 @@ const Login = forwardRef((props, _ref) => {
<div className={styles['inner-center']}> <div className={styles['inner-center']}>
<div className={styles['welcome-title']}> <div className={styles['welcome-title']}>
<div <div
className={classnames(styles.tabItem, { [styles.tabActive]: loginType === '4A账号' })} className={classnames(styles.tabItem, { [styles.tabActive]: loginType === 'OA账号' })}
onClick={() => tabChange('4A账号')} onClick={() => tabChange('OA账号')}
> >
4A账号 OA账号
</div> </div>
<div <div
className={classnames(styles.tabItem, { [styles.tabActive]: loginType === '熊猫账号' })} className={classnames(styles.tabItem, { [styles.tabActive]: loginType === '熊猫账号' })}
......
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