admin manage page update

This commit is contained in:
2023-12-22 14:10:44 +08:00
parent a45d591988
commit e8e402cf4d
26 changed files with 1676 additions and 361 deletions

View File

@@ -6,6 +6,10 @@ module.exports = defineConfig({
client: {
overlay: false // 编译错误时,取消全屏覆盖
},
open: true, //配置自动启动浏览器
host: "localhost",
https: false,
port: 8081,
proxy: {
'/api': {
@@ -24,6 +28,22 @@ module.exports = defineConfig({
'^/api': ''
}
},
'/dev': {
//后端接口的baseurl
target: 'http://localhost:8080',
//是否允许跨域
changeOrigin: true,
// ws: true, //是否代理 websockets
// secure: true,
// 'secure': true,
headers: {
Connection: "kepp-alive"
},
pathRewrite: {
//这里的作用是使用去掉api
'^/dev': ''
}
},
}
}
})