top view
This commit is contained in:
parent
4b75395553
commit
a079fcd0ae
1 changed files with 3 additions and 1 deletions
|
|
@ -228,7 +228,7 @@ onMounted(async () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
const setListTab = () => {
|
const setListTab = () => {
|
||||||
console.log(route.name);
|
// console.log(route.name);
|
||||||
|
|
||||||
if (route.name == "manual") {
|
if (route.name == "manual") {
|
||||||
listTab.value = tabListLogin;
|
listTab.value = tabListLogin;
|
||||||
|
|
@ -241,6 +241,8 @@ const setListTab = () => {
|
||||||
} else if (route.name == "recruitmain") {
|
} else if (route.name == "recruitmain") {
|
||||||
listTab.value = tabRecruit;
|
listTab.value = tabRecruit;
|
||||||
}
|
}
|
||||||
|
changeTab(listTab.value[0].tag);
|
||||||
|
window.scrollTo(0, 0);
|
||||||
};
|
};
|
||||||
watch(route, () => {
|
watch(route, () => {
|
||||||
setListTab();
|
setListTab();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue