From f18d120ebfe2e3faa88674351dff05c5837879fa Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 30 十二月 2020 09:48:18 +0800
Subject: [PATCH] 登录页调整

---
 src/views/login/loginform.jsx |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/views/login/loginform.jsx b/src/views/login/loginform.jsx
index 9bff724..f92a8b4 100644
--- a/src/views/login/loginform.jsx
+++ b/src/views/login/loginform.jsx
@@ -1,7 +1,7 @@
 import React, {Component} from 'react'
 import PropTypes from 'prop-types'
 import { is, fromJS } from 'immutable'
-import { Form, Icon, Input, Button, Checkbox, Select, Modal, message } from 'antd'
+import { Form, Icon, Input, Button, Modal, message } from 'antd'
 import md5 from 'md5'
 import moment from 'moment'
 
@@ -271,7 +271,7 @@
 
   render() {
     const { getFieldDecorator } = this.props.form
-    const { activeKey, verdisabled, delay, loginWays, remember } = this.state
+    const { activeKey, verdisabled, delay, loginWays } = this.state
 
     return (
       <Form className={`login-form login-form-${loginWays.length}`} id="login-form" onSubmit={this.handleSubmit}>
@@ -332,13 +332,13 @@
               />
             )}
           </Form.Item> : null}
-          {activeKey === 'uname_pwd' ? <Form.Item className="minline">
+          {/* {activeKey === 'uname_pwd' ? <Form.Item className="minline">
             {getFieldDecorator('remember', {
               valuePropName: 'checked',
               initialValue: remember,
             })(<Checkbox onChange={this.rememberChange}>{this.props.dict['login.remember']}</Checkbox>)}
-          </Form.Item> : null}
-          <Form.Item className="minline right">
+          </Form.Item> : null} */}
+          {/* <Form.Item className="minline right">
             {getFieldDecorator('system', {
               initialValue: localStorage.getItem('bmsSystem') === 'new' ? 'new' : 'old',
             })(
@@ -347,7 +347,7 @@
                 <Select.Option key="new" value="new">鏂扮郴缁�</Select.Option>
               </Select>
             )}
-          </Form.Item>
+          </Form.Item> */}
           {['uname_pwd', 'sms_vcode'].includes(activeKey) ? <Form.Item className="btn-login">
             <Button type="primary" htmlType="submit" className="login-form-button" disabled={this.props.isDisabled} loading={this.props.isDisabled}>
               {this.props.dict['login.submit']}

--
Gitblit v1.8.0