This commit is contained in:
yanran200730
2023-02-10 11:48:23 +08:00
parent 4846762d37
commit addb18b2ef
2 changed files with 2 additions and 4 deletions

View File

@@ -6,14 +6,13 @@
<template slot="content">
<ai-search-bar class="search-bar">
<template #left>
<el-button size="small" type="primary" icon="iconfont iconAdd" @click="toAdd('')">添加</el-button>
</template>
<template #right>
<el-input
v-model="search.title"
class="search-input"
size="small"
v-throttle="() => {search.current = 1, getList()}"
v-throttle="() => { search.current = 1, getList() }"
placeholder="请输入标题"
clearable
@clear="search.current = 1, getList()"