mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-27 18:59:26 +08:00
解决按钮权限覆盖的问题,权限展示所有菜单,角色修改时回显子节点勾选的问题,统计分析生命周期获取数据接口问题
This commit is contained in:
@@ -14,7 +14,7 @@ module.exports = defineConfig({
|
||||
proxy: {
|
||||
'/api': {
|
||||
// 代理前缀,可以自定义(如 '/api')
|
||||
target: 'http://192.168.0.187:19800', // 目标服务器地址
|
||||
target: 'http://192.168.0.16:19801', // 目标服务器地址
|
||||
changeOrigin: true, // 是否改变请求源(跨域必备)
|
||||
pathRewrite: {
|
||||
'^/api': '' // 重写路径,去掉 '/api' 前缀
|
||||
|
||||
Reference in New Issue
Block a user