docs: remove legacy slot usage

This commit is contained in:
chenjiahan
2020-08-15 07:27:35 +08:00
parent b6e42d2344
commit 272a89423e
12 changed files with 78 additions and 68 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ export default {
```html
<van-count-down :time="time">
<template v-slot="timeData">
<template #default="timeData">
<span class="block">{{ timeData.hours }}</span>
<span class="colon">:</span>
<span class="block">{{ timeData.minutes }}</span>