This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-09-25 10:44:54 +07:00
parent 4b75395553
commit a079fcd0ae

View file

@ -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();