mirror of
https://github.com/youzan/vant.git
synced 2026-04-06 02:00:43 +08:00
docs: update vant-weapp demo
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -102,8 +102,8 @@ export default {
|
||||
<van-search
|
||||
v-model="value"
|
||||
show-action
|
||||
placeholder="请输入搜索关键词"
|
||||
label="地址"
|
||||
placeholder="请输入搜索关键词"
|
||||
@search="onSearch"
|
||||
>
|
||||
<template #action>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user