fix : 单文件和多文件上传样式调整

This commit is contained in:
2024-06-29 12:05:10 +08:00
parent 5d9331c23f
commit 12db4164d0
3 changed files with 53 additions and 44 deletions

View File

@@ -68,31 +68,31 @@ export default defineConfig({
strictPort: false,
open: true,
proxy: {
// '/api/workflow': {
// // target: 'http://frp.feashow.cn:31800/',
// target: 'http://clay.frp.feashow.cn/',
// // target: 'http://192.168.31.175:8000',
// changeOrigin: true,
// rewrite: (path) => path.replace(/^\/api/, '')
// },
'/api/workflow': {
target: 'http://frp.feashow.cn:31800/',
// target: 'http://clay.frp.feashow.cn/',
// target: 'http://192.168.31.175:8000',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '')
},
// '/api/admin': {
// // target: 'http://frp.feashow.cn:31800/',
// target: 'http://clay.frp.feashow.cn/',
// // target: 'http://192.168.31.175:8000',
// changeOrigin: true,
// rewrite: (path) => path.replace(/^\/api/, '')
// rewrite: (path) => path.replace(/^\/summary/, '')
// },
'/api': {
// target: 'http://mosr.feashow.cn/',
target: 'http://10.7.127.57:8000',
target: 'http://mosr.feashow.cn',
// target: 'http://clay.frp.feashow.cn',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '')
// rewrite: (path) => path.replace(/^\/api/, '')
},
'/api/notice-ws': {
target: 'ws://mosr.feashow.cn/api/notice-ws',
ws: true,
changeOrigin: true,
}
// '/api/notice-ws': {
// target: 'ws://mosr.feashow.cn/summary/notice-ws',
// ws: true,
// changeOrigin: true,
// }
}
}
})