优化桌面端

This commit is contained in:
gyq
2024-05-16 16:55:55 +08:00
parent 43ccf82177
commit 6f378cc3c0
6 changed files with 141 additions and 239 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.116: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/, '')