This commit is contained in:
yanran200730
2022-03-21 20:11:17 +08:00
parent f0c1efb4b1
commit 5364c2571a
11 changed files with 29 additions and 9 deletions

View File

@@ -12,7 +12,8 @@
<!-- 搜索 -->
<template slot="right">
<el-input v-model="search.name" size="small" placeholder="户主/联系电话" clearable @keyup.enter.native=";(page.current = 1), getList()" @clear=";(page.current = 1), (search.name = ''), getList()" suffix-icon="iconfont iconSearch" />
<el-input v-model="search.name" size="small"
v-throttle="() => {page.current = 1, getList()}" placeholder="户主/联系电话" clearable @keyup.enter.native=";(page.current = 1), getList()" @clear=";(page.current = 1), (search.name = ''), getList()" suffix-icon="iconfont iconSearch" />
</template>
</ai-search-bar>