ทดลองงาน

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-09-26 16:32:03 +07:00
parent 576831410a
commit bae5342aed
6 changed files with 491 additions and 145 deletions

View file

@ -52,7 +52,9 @@ const activeTab = ref<string>("");
const personalId = ref<string>(route.params.personalId.toString());
onMounted(() => {
activeTab.value = DataStore.mainTab;
if (DataStore.mainTab) {
activeTab.value = DataStore.mainTab;
} else activeTab.value = "tab1";
});
const changeTab = (tab: string) => {
DataStore.mainTab = tab;