Update Information.vue

This commit is contained in:
AnandaTon 2023-03-22 09:54:23 +07:00
parent 1316aaef71
commit a02e4fe4ec

View file

@ -404,11 +404,16 @@ const props = defineProps({
const emit = defineEmits(['update:statusEdit'])
onMounted(() => {
onMounted(async () => {
// fetchProvince()
fetchprefix()
fetchrelationship()
await fetchData()
await fetchprefix()
await fetchrelationship()
})
const fetchData = () => {
prefix.value = 'e4e6a4f8-39c6-467f-bd84-7650d105fc4c'
relationship.value = '02fbc0e3-1da0-45b5-90da-783d344b5896'
}
const saveData = async () => {
if (store.consend == true) {