fix: replace value with title of Cell prop (#11384)

This commit is contained in:
Gavin 2022-12-14 10:13:38 +08:00 committed by GitHub
parent ba3a50383c
commit 28241c08e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,7 +131,7 @@ const showFunctionCall = (options: Partial<ImagePreviewOptions> = {}) => {
<demo-block card :title="t('useImageSlot')">
<van-cell
is-link
:value="t('useImageSlot')"
:title="t('useImageSlot')"
@click="showComponentCallSlot"
/>
<van-image-preview v-model:show="showSlot" :images="imagesSlot">