ทดลองงาน
This commit is contained in:
parent
576831410a
commit
bae5342aed
6 changed files with 491 additions and 145 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue