refactor: 优化搜索输入框 input => input-search

This commit is contained in:
2024-11-23 21:27:29 +08:00
parent b030921189
commit 7402de5695
20 changed files with 30 additions and 36 deletions

View File

@@ -38,7 +38,7 @@
<slot name="suffix">
<a-button type="primary" @click="emit('search')">
<template #icon><icon-search /></template>
<template #default>{{ options.btns?.searchBtnText || '查询' }}</template>
<template #default>{{ options.btns?.searchBtnText || '搜索' }}</template>
</a-button>
<a-button @click="emit('reset')">
<template #icon><icon-refresh /></template>

View File

@@ -19,7 +19,7 @@
>
<template #top>
<a-space wrap :size="[8, 8]">
<a-input v-model="queryForm.description" placeholder="用户名/昵称/描述" allow-clear @change="search" />
<a-input-search v-model="queryForm.description" placeholder="搜索用户名/昵称/描述" allow-clear @search="search" />
<a-tree-select
v-model="queryForm.deptId"
:data="deptList"