Update src/router/index.ts

This commit is contained in:
Fine0830 2023-12-26 19:44:35 +08:00 committed by GitHub
parent 206b4a5ee0
commit eda486b522
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,7 @@ router.beforeEach((to, from, next) => {
break;
}
}
if (defaultPath !== "") {
if (defaultPath) {
break;
}
}