mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-23 15:09:16 +08:00
修复无reset下 search 展示 (#210)
This commit is contained in:
parent
f9fa2fc1c3
commit
80ccfb58cb
@ -79,7 +79,7 @@ Tips: 在 `van-search` 外层增加 form 标签,并且 action 不为空,即
|
||||
:show-action="true"
|
||||
@search="goSlotSearch">
|
||||
<template slot="action">
|
||||
<p class="demo-search-action" @click="goSlotSearch">搜索</p>
|
||||
<div class="demo-search-action" @click="goSlotSearch">搜索</div>
|
||||
</template>
|
||||
</van-search>
|
||||
```
|
||||
|
@ -18,7 +18,7 @@
|
||||
</div>
|
||||
<div class="van-search__action" v-if="showAction">
|
||||
<slot name="action">
|
||||
<p class="van-search__action-text" @click="handleBack">取消</p>
|
||||
<div class="van-search__action-text" @click="handleBack">取消</div>
|
||||
</slot>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user