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 = () => {
|
||||
console.log(route.name);
|
||||
// console.log(route.name);
|
||||
|
||||
if (route.name == "manual") {
|
||||
listTab.value = tabListLogin;
|
||||
|
|
@ -241,6 +241,8 @@ const setListTab = () => {
|
|||
} else if (route.name == "recruitmain") {
|
||||
listTab.value = tabRecruit;
|
||||
}
|
||||
changeTab(listTab.value[0].tag);
|
||||
window.scrollTo(0, 0);
|
||||
};
|
||||
watch(route, () => {
|
||||
setListTab();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue