Commit 36c258cd authored by xinzhedeai's avatar xinzhedeai

add:隐患列表条件搜索

parent 6d3a213c
......@@ -18,11 +18,11 @@
v-model="shanghuName"
show-action
placeholder="请输入商家关键词"
@search="getList()"
@search="onSearch()"
v-show="showSearch"
>
<template #action>
<div @click="getList()"></div>
<div @click="onSearch()"></div>
</template>
</van-search>
</div>
......
......@@ -80,6 +80,7 @@ window.addEventListener('load', function () {
this.getList()
},
onSearch() {
this.reset()
this.getList()
},
// 新增选择确认方法
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment