mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 03:11:15 +00:00
[Doc] Demo: use v-slot shorthand (#3574)
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
:images="images"
|
||||
@change="onChange"
|
||||
>
|
||||
<template v-slot:index>{{ $t('index', index) }}</template>
|
||||
<template #index>{{ $t('index', index) }}</template>
|
||||
</van-image-preview>
|
||||
</demo-block>
|
||||
</demo-section>
|
||||
|
Reference in New Issue
Block a user