feat: 添加字典详情
Some checks failed
coverage CI / build (push) Has been cancelled

This commit is contained in:
2025-09-24 15:28:36 +08:00
parent 9363dc0d6e
commit 34cd919441
7 changed files with 364 additions and 13 deletions

View File

@@ -13,9 +13,9 @@ export default {
// 如果需要自定义本地开发服务器 请取消注释按需调整
dev: {
// localhost:8000/api/** -> https://preview.pro.ant.design/api/**
"/admin-api/": {
'/admin-api/': {
// 要代理的地址
target: "http://192.168.1.114:48080",
target: 'http://114.132.60.20:48080',
// 配置了这个可以从 http 代理到 https
// 依赖 origin 的功能可能需要这个,比如 cookie
changeOrigin: true,
@@ -27,17 +27,17 @@ export default {
*/
test: {
// localhost:8000/api/** -> https://preview.pro.ant.design/api/**
"/api/": {
target: "https://proapi.azurewebsites.net",
'/api/': {
target: 'https://proapi.azurewebsites.net',
changeOrigin: true,
pathRewrite: { "^": "" },
pathRewrite: { '^': '' },
},
},
pre: {
"/api/": {
target: "your pre url",
'/api/': {
target: 'your pre url',
changeOrigin: true,
pathRewrite: { "^": "" },
pathRewrite: { '^': '' },
},
},
};