Commit 36c258cd authored by xinzhedeai's avatar xinzhedeai

add:隐患列表条件搜索

parent 6d3a213c
...@@ -18,11 +18,11 @@ ...@@ -18,11 +18,11 @@
v-model="shanghuName" v-model="shanghuName"
show-action show-action
placeholder="请输入商家关键词" placeholder="请输入商家关键词"
@search="getList()" @search="onSearch()"
v-show="showSearch" v-show="showSearch"
> >
<template #action> <template #action>
<div @click="getList()"></div> <div @click="onSearch()"></div>
</template> </template>
</van-search> </van-search>
</div> </div>
......
...@@ -80,6 +80,7 @@ window.addEventListener('load', function () { ...@@ -80,6 +80,7 @@ window.addEventListener('load', function () {
this.getList() this.getList()
}, },
onSearch() { onSearch() {
this.reset()
this.getList() 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