This commit is contained in:
王子琦
2026-01-14 09:42:10 +08:00
parent fab12860a7
commit e4f8f39804
3 changed files with 6 additions and 2 deletions

View File

@@ -36,7 +36,8 @@ const routes = [
]
const router = new VueRouter({
routes
routes,
mode:'history'
})
export default router

View File

@@ -1,5 +1,8 @@
module.exports = {
devServer: {
port: 8888,
disableHostCheck: true,
proxy: {
'/api': {
target: 'http://127.0.0.1:7946',