[Improvement] ContactCard add 'editable' prop (#435)

This commit is contained in:
neverland
2017-12-14 14:44:27 +08:00
committed by GitHub
parent e008aa124d
commit 5a96838326
6 changed files with 53 additions and 2 deletions

View File

@@ -119,6 +119,17 @@ export default {
};
```
#### Uneditable
```html
<van-contact-card
type="edit"
name="张三"
tel="13000000000"
:editable="false"
/>
```
### ContactCard API
| Attribute | Description | Type | Default | Accepted Values |

View File

@@ -118,6 +118,17 @@ export default {
};
```
#### 不可编辑
```html
<van-contact-card
type="edit"
name="张三"
tel="13000000000"
:editable="false"
/>
```
### ContactCard API
| 参数 | 说明 | 类型 | 默认值 | 可选值 |