This commit is contained in:
yanran200730
2022-03-15 15:57:54 +08:00
parent 2ffc1d06cf
commit dff68edcbb
2 changed files with 3 additions and 1 deletions

View File

@@ -33,6 +33,8 @@
</template>
<template #right v-if="showRightInput">
<el-input :placeholder="placeholder" v-model="search.searchParam" size="small"
@keyup.enter.native="$forceUpdate();(page.current = 1), getList()"
@clear="$forceUpdate();(page.current = 1), getList()"
@change="$forceUpdate();(page.current = 1), getList()" clearable prefix-icon="iconfont iconSearch"/>
</template>
</ai-search-bar>