去除部分调试打印,优化环境变量控制,修复再来一单只有一个商品时自动弹出图片预览问题,
This commit is contained in:
@@ -39,6 +39,11 @@ module.exports = defineConfig({
|
||||
changeOrigin: true, // 是否更改请求源
|
||||
rewrite: path => path.replace(/^\/api/, '')
|
||||
},
|
||||
'/prodApi': {
|
||||
target: 'https://cashier.sxczgkj.com', // 目标服务器地址
|
||||
changeOrigin: true, // 是否更改请求源
|
||||
rewrite: path => path.replace(/^\/prodApi/, '')
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user