[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

@@ -27,6 +27,15 @@
/>
</van-popup>
</demo-block>
<demo-block :title="$t('uneditable')">
<van-contact-card
type="edit"
:name="list[0].name"
:tel="list[0].tel"
:editable="false"
/>
</demo-block>
</demo-section>
</template>