docs(Cascader): fix missing options

This commit is contained in:
chenjiahan 2020-12-21 22:32:55 +08:00
parent 74d16f2649
commit 6f009b7b8a
2 changed files with 6 additions and 0 deletions

View File

@ -26,6 +26,7 @@ Vue.use(Cascader);
<van-cascader
v-model="cascaderValue"
title="Select Area"
:options="options"
@close="show = false"
@finish="onFinish"
/>
@ -68,6 +69,7 @@ export default {
<van-cascader
v-model="cascaderValue"
title="Select Area"
:options="options"
active-color="#1989fa"
@close="show = false"
@finish="onFinish"
@ -89,6 +91,7 @@ export default {
<van-cascader
v-model="cascaderValue"
title="Select Area"
:options="options"
@close="show = false"
@change="onChange"
@finish="onFinish"

View File

@ -32,6 +32,7 @@ Vue.use(Cascader);
<van-cascader
v-model="cascaderValue"
title="请选择所在地区"
:options="options"
@close="show = false"
@finish="onFinish"
/>
@ -78,6 +79,7 @@ export default {
<van-cascader
v-model="cascaderValue"
title="请选择所在地区"
:options="options"
active-color="#1989fa"
@close="show = false"
@finish="onFinish"
@ -101,6 +103,7 @@ export default {
<van-cascader
v-model="cascaderValue"
title="请选择所在地区"
:options="options"
@close="show = false"
@change="onChange"
@finish="onFinish"