feat(ContactCard): refactor style & add new prop show-set-default (#5083)

This commit is contained in:
rex
2019-11-22 17:14:11 +08:00
committed by neverland
parent 1e836bf461
commit 23c419973a
7 changed files with 107 additions and 34 deletions
+2
View File
@@ -173,6 +173,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* | - | - |
| show-set-default | Whether to show default contact switch | *boolean* | `false` | - |
| set-default-label | default contact switch label | *string* | - | - |
### ContactEdit Events