优化首页商品卡顿

This commit is contained in:
gyq
2024-04-30 14:20:45 +08:00
parent e26049593f
commit 43ccf82177
3 changed files with 204 additions and 100 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.27:10587/cashier-client', // 国成
// target: 'https://cashierclient.sxczgkj.cn/cashier-client', // 线上
target: 'http://192.168.2.116:10587/cashier-client', // 国成
// target: 'http://192.168.2.128:10587/cashier-client',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '')