[new feature] AddressEdit: add postal-validator prop (#4067)

This commit is contained in:
neverland
2019-08-08 19:08:46 +08:00
committed by GitHub
parent f520c221a9
commit bc4323b128
3 changed files with 12 additions and 2 deletions
+2 -1
View File
@@ -76,7 +76,8 @@ export default {
| is-saving | Whether to show save button loading status | `boolean` | `false` |
| is-deleting | Whether to show delete button loading status | `boolean` | `false` |
| tel-validator | The method to validate tel | `(tel: string) => boolean` | - |
| validator | Custom validator | `(key, value) => string` | - | 1.3.9 |
| postal-validator | The method to validate postal | `(tel: string) => boolean` | - |
| validator | Custom validator | `(key, value) => string` | - |
### Events