ต่อ api คำนำหน้า /วุฒการศึกษา

This commit is contained in:
AnandaTon 2023-03-21 17:36:02 +07:00
parent c289ed17ad
commit eedafc6891
2 changed files with 13 additions and 10 deletions

View file

@ -332,10 +332,13 @@ watch(edit, (count: boolean, prevCount: boolean) => {
})
onMounted(async () => {
// await fetchData()
await fetchData()
// await fetchQualification()
fetcheducationLevel()
await fetcheducationLevel()
})
const fetchData = () => {
educationLevel.value = 'e4e6a4f8-39c6-467f-bd84-7650d105fc4c'
}
const fetcheducationLevel = async () => {
// loader.value = true;
@ -373,9 +376,9 @@ const fetchQualification = async () => {
// })
}
const fetchData = async () => {
editRow.value = false
}
// const fetchData = async () => {
// editRow.value = false
// }
/**
* กดดอมลกอนหน

View file

@ -323,11 +323,11 @@ const props = defineProps({
const emit = defineEmits(['update:statusEdit'])
onMounted(() => {
fetchData()
fetchprefixMom()
fetchprefixDad()
fetchprefixRelation()
onMounted(async () => {
await fetchData()
await fetchprefixMom()
await fetchprefixDad()
await fetchprefixRelation()
})
const fetchData = () => {
prefixRelation.value = 'e4e6a4f8-39c6-467f-bd84-7650d105fc4c'