แก้โหลด พ้นราชการ

This commit is contained in:
setthawutttty 2025-07-07 10:38:04 +07:00
parent e497160fd5
commit e539ca977b
3 changed files with 15 additions and 10 deletions

View file

@ -233,9 +233,12 @@ function onSearch() {
);
}
onMounted(async () => {
await getTreeData();
});
watch(
() => modal.value,
async () => {
modal.value && (await getTreeData());
}
);
</script>
<template>
<q-dialog v-model="modal" persistent full-width>