mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 18:54:24 +00:00
[Doc] Demo: use v-slot shorthand (#3574)
This commit is contained in:
@@ -82,7 +82,7 @@
|
||||
v-for="index in 2"
|
||||
:key="index"
|
||||
>
|
||||
<template v-slot:title>
|
||||
<template #title>
|
||||
<van-icon name="more-o" />{{ $t('tab') }}
|
||||
</template>
|
||||
{{ $t('content') }} {{ index }}
|
||||
|
Reference in New Issue
Block a user