fixing req IDP & registry
This commit is contained in:
parent
fe501f6e1b
commit
39fa08b0f4
2 changed files with 14 additions and 8 deletions
|
|
@ -15,6 +15,7 @@ import type {
|
|||
} from "@/modules/04_registryPerson/interface/index/Main";
|
||||
import type { DataListsIDP } from "@/modules/04_registryPerson/interface/response/Main";
|
||||
|
||||
const props = defineProps<{ isIdp: boolean | null }>();
|
||||
const $q = useQuasar();
|
||||
const router = useRouter();
|
||||
const route = useRoute();
|
||||
|
|
@ -283,9 +284,8 @@ watch(
|
|||
}
|
||||
);
|
||||
|
||||
/** HooK lifecycle ทำงานเมื่อมีการเรียกใช้งาน Componenets*/
|
||||
onMounted(() => {
|
||||
fetchData();
|
||||
props.isIdp && fetchData();
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue