[new feature] AddressEdit support custom tel validator (#673)

This commit is contained in:
neverland
2018-03-07 16:23:10 +08:00
committed by GitHub
parent 2aaf074416
commit 0482558471
6 changed files with 14 additions and 2 deletions
+1
View File
@@ -68,6 +68,7 @@ export default {
| show-search-result | Whether to show address search result | `Boolean` | `false` | - |
| 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` | - | - |
### Event
+1
View File
@@ -161,6 +161,7 @@ export default {
| is-edit | Whether is editing | `Boolean` | `false` | - |
| 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` | - | - |
### ContactEdit Event