html
<a-table
:columns="columns"
:data-source="projectTable"
bordered
:pagination='false'
size="middle"
:scroll="{ x: '100%', y: 400 }"
>
<div
slot="filterDropdown"
slot-scope="{ setSelectedKeys, selectedKeys, confirm, clearFilters, column }"
style="padding: 8px"
>
<a-input
:placeholder="`按${column.title}筛选`"
v-model="searchText"
style="width: 188px; margin-bottom: 8px; display: block;"
@change="handleSearch()"
@pressEnter="() => handleSearch()"
/>
<a-button
type="primary"
size="small"
style="width: 80px; margin-right: 20px"
@click="() => handleSearch()"
>
筛选
</a-b