优化首页添加购物车

This commit is contained in:
gyq
2024-03-13 17:14:48 +08:00
parent 5e5d854849
commit e058c97016
7 changed files with 44 additions and 26 deletions

View File

@@ -9,8 +9,8 @@ export default defineConfig({
server: {
proxy: {
'/api': {
target: 'https://cashierclient.sxczgkj.cn/cashier-client', // 测试
// target: 'http://192.168.2.87:10587/cashier-client', // 国成
// target: 'https://cashierclient.sxczgkj.cn/cashier-client', // 测试
target: 'http://192.168.2.27:10587/cashier-client', // 国成
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '')
}