| | |
| | | import PropTypes from 'prop-types' |
| | | import { is, fromJS } from 'immutable' |
| | | import { InputItem, Icon, Checkbox, List, Button } from 'antd-mobile' |
| | | import { createForm } from 'rc-form' |
| | | // import { createForm } from 'rc-form' |
| | | |
| | | import zhCN from '@/locales/zh-CN/mob.js' |
| | | import enUS from '@/locales/en-US/mob.js' |
| | |
| | | |
| | | render () { |
| | | const { card, editId } = this.props |
| | | const { getFieldProps } = this.props.form |
| | | // const { getFieldProps } = this.props.form |
| | | const { rember } = this.state |
| | | |
| | | if (!card.box) return null |
| | |
| | | {card.title.content} |
| | | </div> : null} |
| | | <InputItem |
| | | placeholder="UserName" |
| | | placeholder={"UserName"} |
| | | prefixListCls="mk-login-item am-list" |
| | | {...getFieldProps('userName', { |
| | | initialValue: 'admin', |
| | | })} |
| | | disabled={true} |
| | | > |
| | | <Icon type="check-circle-o" /> |
| | |
| | | <InputItem |
| | | placeholder="Password" |
| | | prefixListCls="mk-login-item am-list" |
| | | {...getFieldProps('password', { |
| | | initialValue: '123456', |
| | | })} |
| | | type={'password'} |
| | | disabled={true} |
| | | > |
| | |
| | | } |
| | | } |
| | | |
| | | export default createForm()(MobLogin) |
| | | // export default createForm()(MobLogin) |
| | | export default MobLogin |