ปรับ Load รายละเอียดทะเบียนประวัติ
This commit is contained in:
parent
9b4b5010c7
commit
77d8dee255
22 changed files with 468 additions and 190 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue