fix: index.js

修复router没有设置base
This commit is contained in:
Junsen Huang 2025-04-24 11:46:29 +08:00 committed by GitHub
parent b5b4c5ced7
commit 1d8b898924
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -87,6 +87,7 @@ const routes = [
]
const router = new VueRouter({
base: process.env.VUE_APP_PUBLIC_PATH || '/',
routes
})