ปรับ Load รายละเอียดทะเบียนประวัติ

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-01-12 11:10:42 +07:00
parent 9b4b5010c7
commit 77d8dee255
22 changed files with 468 additions and 190 deletions

View file

@ -2,7 +2,7 @@ import { ref, computed } from "vue";
import { defineStore } from "pinia";
export const useProfileDataStore = defineStore("profile", () => {
const emplployeeClass = ref<string | null>('')
const emplployeeClass = ref<string | null>("");
interface profile {
main: { columns: String[] };
education: { columns: String[] };
@ -73,7 +73,10 @@ export const useProfileDataStore = defineStore("profile", () => {
profileData.value = JSON.parse(localStorage.getItem("profile") || "{}");
}
const isLoad = ref<number>(0);
return {
isLoad,
profileData,
changeProfileColumns,
birthDate,