Update src/router/index.ts

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

View File

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