ปรับ Filter การจัดการผู้ใช่งาน

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-11-26 15:29:12 +07:00
parent ba4703dac8
commit 470e30be1f
4 changed files with 14 additions and 6 deletions

View file

@ -383,10 +383,12 @@ onMounted(async () => {
dense
outlined
v-model="keyword"
clearable
@clear="keyword = ''"
placeholder="ค้นหา"
@keydown.enter.prevent="(currentPage = 1), fetchListUsers()"
>
<template v-slot:append>
<template v-slot:append v-if="keyword === ''">
<q-icon name="search" />
</template>
</q-input>