Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ant-design-pro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
duanledexianxianxian
ant-design-pro
Commits
77ce0fdf
Commit
77ce0fdf
authored
Aug 05, 2018
by
陈帅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc:Modify the error of the document
parent
189e6c5c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
src/components/Login/index.en-US.md
src/components/Login/index.en-US.md
+1
-1
src/components/Login/index.zh-CN.md
src/components/Login/index.zh-CN.md
+2
-3
No files found.
src/components/Login/index.en-US.md
View file @
77ce0fdf
...
@@ -39,7 +39,7 @@ Apart from the above properties, Login.Username also support all properties of a
...
@@ -39,7 +39,7 @@ Apart from the above properties, Login.Username also support all properties of a
Property | Description | Type | Default
Property | Description | Type | Default
----|------|-----|------
----|------|-----|------
onGetCaptcha | callback on getting a new Captcha | () => void | -
onGetCaptcha | callback on getting a new Captcha | () => void | -
buttonText | text on getting a new Captcha | ReactNode |
-
buttonText | text on getting a new Captcha | ReactNode |
'获取验证码'
Apart from the above properties, _Login.Captcha_ support the same properties with _Login.UserName_.
Apart from the above properties, _Login.Captcha_ support the same properties with _Login.UserName_.
...
...
src/components/Login/index.zh-CN.md
View file @
77ce0fdf
...
@@ -32,15 +32,14 @@ name | 控件标记,提交数据中同样以此为 key | String | -
...
@@ -32,15 +32,14 @@ name | 控件标记,提交数据中同样以此为 key | String | -
rules | 校验规则,同 Form getFieldDecorator(id, options) 中
[
option.rules 的规则
](
getFieldDecorator(id,
options)) | object[] | -
rules | 校验规则,同 Form getFieldDecorator(id, options) 中
[
option.rules 的规则
](
getFieldDecorator(id,
options)) | object[] | -
除上述属性以外,Login.UserName 还支持 antd.Input 的所有属性,并且自带默认的基础配置,包括
`placeholder`
`size`
`prefix`
等,这些基础配置均可被覆盖。
除上述属性以外,Login.UserName 还支持 antd.Input 的所有属性,并且自带默认的基础配置,包括
`placeholder`
`size`
`prefix`
等,这些基础配置均可被覆盖。
## Login.Password、Login.Mobile 同 Login.UserName
### Login.Password、Login.Mobile 同 Login.UserName
### Login.Captcha
### Login.Captcha
参数 | 说明 | 类型 | 默认值
参数 | 说明 | 类型 | 默认值
----|------|-----|------
----|------|-----|------
onGetCaptcha | 点击获取校验码的回调 | () => void | -
onGetCaptcha | 点击获取校验码的回调 | () => void | -
buttonText | 点击获取校验码的说明文字 | ReactNode |
-
buttonText | 点击获取校验码的说明文字 | ReactNode |
'获取验证码'
除上述属性以外,Login.Captcha 支持的属性与 Login.UserName 相同。
除上述属性以外,Login.Captcha 支持的属性与 Login.UserName 相同。
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment