docs: update vant-weapp demo

This commit is contained in:
chenjiahan
2020-03-21 07:11:42 +08:00
parent 6343928da0
commit a8c671ecfd
9 changed files with 10 additions and 10 deletions

View File

@@ -102,8 +102,8 @@ Use `action` slot to custom right button, `cancel` event will no longer be trigg
<van-search
v-model="value"
show-action
shape="round"
label="Address"
placeholder="Placeholder"
@search="onSearch"
>
<template #action>

View File

@@ -102,8 +102,8 @@ export default {
<van-search
v-model="value"
show-action
placeholder="请输入搜索关键词"
label="地址"
placeholder="请输入搜索关键词"
@search="onSearch"
>
<template #action>

View File

@@ -40,9 +40,9 @@
<demo-block :title="$t('customButton')">
<van-search
v-model="value6"
:placeholder="$t('placeholder')"
show-action
:label="$t('label')"
:placeholder="$t('placeholder')"
@search="onSearch"
>
<template #action>