docs(DropdownMenu): fix example source code error (#9682)

This commit is contained in:
BaboonKing
2021-10-15 17:50:45 +08:00
committed by GitHub
parent 2ec219ea85
commit 843fd4f2a3
2 changed files with 2 additions and 2 deletions

View File

@@ -60,7 +60,7 @@ export default {
```html
<van-dropdown-menu>
<van-dropdown-item v-model="value" :options="option" />
<van-dropdown-item v-model="value" :options="options" />
<van-dropdown-item title="Title" ref="item">
<van-cell center title="Title">
<template #right-icon>

View File

@@ -62,7 +62,7 @@ export default {
```html
<van-dropdown-menu>
<van-dropdown-item v-model="value" :options="option" />
<van-dropdown-item v-model="value" :options="options" />
<van-dropdown-item title="筛选" ref="item">
<van-cell center title="包邮">
<template #right-icon>