เคลีย input เเล้วดึงข้อมูลใหม่

This commit is contained in:
STW_TTTY\stwtt 2024-04-29 09:25:54 +07:00
parent 266230f29b
commit 87f3682b80

View file

@ -175,6 +175,11 @@ async function deleteData(idData: string) {
);
}
function clearFilter(){
nodeData.keyword = ''
fetchActive()
fetchRoundOption()
}
onMounted(() => {
fetchActive();
fetchRoundOption();
@ -336,7 +341,7 @@ onMounted(() => {
v-if="nodeData.keyword !== ''"
name="clear"
class="cursor-pointer"
@click="nodeData.keyword = ''"
@click="clearFilter"
/>
</template>
</q-input>