updated format code

This commit is contained in:
Warunee Tamkoo 2024-09-03 11:28:01 +07:00
parent b75d69ea08
commit b14bad2249
241 changed files with 14012 additions and 13811 deletions

View file

@ -4,21 +4,20 @@ import { ref } from "vue";
import type { Information } from "@/modules/05_placement/components/PersonalDetail/profileType";
export const usePersonalDataStore = defineStore("personal-detail", () => {
const dataMain = ref<any>([])
const loading = ref<boolean>(false)
function fecthDataInformation(data: Information) {
dataMain.value = data
if (dataMain.value) {
loading.value = true
} else {
loading.value = false
}
const dataMain = ref<any>([]);
const loading = ref<boolean>(false);
function fecthDataInformation(data: Information) {
dataMain.value = data;
if (dataMain.value) {
loading.value = true;
} else {
loading.value = false;
}
}
return {
fecthDataInformation,
dataMain,
loading,
};
})
return {
fecthDataInformation,
dataMain,
loading,
};
});