feat(PasswordInput): length can be string

This commit is contained in:
陈嘉涵
2020-01-29 15:36:21 +08:00
parent 3aac04ce42
commit ebe6e67453
3 changed files with 19 additions and 20 deletions
+3 -3
View File
@@ -130,12 +130,12 @@ export default {
| Attribute | Description | Type | Default |
|------|------|------|------|
| value | Password value | *string* | `''` |
| length | Maxlength of password | *number* | `6` |
| mask | Whether to mask value | *boolean* | `true` |
| focused `v2.1.8` | Whether to show focused cursor | *boolean* | `false` |
| info | Bottom info | *string* | - |
| error-info | Bottom error info | *string* | - |
| length | Maxlength of password | *number \| string* | `6` |
| gutter | Gutter of input | *number \| string* | `0` |
| mask | Whether to mask value | *boolean* | `true` |
| focused `v2.1.8` | Whether to show focused cursor | *boolean* | `false` |
### Events