From 331428df70edae7b6c036f527be3febd13a2a0bd Mon Sep 17 00:00:00 2001 From: hejin Date: Thu, 9 Oct 2025 20:45:30 +0800 Subject: [PATCH] 1 --- env.js | 6 +++--- pages/index.vue | 3 --- plugins/axios.js | 3 ++- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/env.js b/env.js index 5aa2381..1598e44 100644 --- a/env.js +++ b/env.js @@ -6,10 +6,10 @@ module.exports = { VUE_APP_API_URL: '/dev' }, // 开发环境 接口请求地址 (http)或(https)://www.a.com(换成你的域名)/api - ev: { + dev: { MODE: 'dev', - VUE_APP_API_URL: 'http://127.0.0.1:8099/', - // VUE_APP_API_URL: 'https://admin.cdtrucktralier.com/', + // VUE_APP_API_URL: 'http://127.0.0.1:8099/', + VUE_APP_API_URL: 'https://admin.cdtrucktralier.com/', VUE_APP_WEBSOCKET: 'wss://admin.cdtrucktralier.com/ws/asset/' }, // 生产环境 接口请求地址 (http)或(https)://www.a.com(换成你的域名)/api 非独立部署默认为空 diff --git a/pages/index.vue b/pages/index.vue index c59f9e0..1e581b5 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -220,9 +220,6 @@