From 09e773e38e2d86ab1e5cc7065cbfcfb1b1a13a62 Mon Sep 17 00:00:00 2001 From: huliyong <2783385703@qq.com> Date: Mon, 10 Nov 2025 02:48:22 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=88=87=E6=8D=A2=E5=BC=80=E5=8F=91?= =?UTF-8?q?=E7=8E=AF=E5=A2=83=E9=85=8D=E7=BD=AE=E4=B8=BA=E6=9C=AC=E5=9C=B0?= =?UTF-8?q?=E8=B0=83=E8=AF=95=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将默认环境从生产环境改为开发环境,并启用本地API地址以便于开发调试 --- config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config.js b/config.js index b144ae1..ac920cf 100644 --- a/config.js +++ b/config.js @@ -6,14 +6,14 @@ import uvUI from '@/uni_modules/uv-ui-tools' Vue.use(uvUI); // 当前环境 -const type = 'prod' +const type = 'dev' // 环境配置 const config = { dev: { - baseUrl: 'http://h5.xzaiyp.top/clockin-api', - // baseUrl: 'http://127.0.0.1:8083/clockin-api', + // baseUrl: 'http://h5.xzaiyp.top/clockin-api', + baseUrl: 'http://127.0.0.1:8083/clockin-api', }, test: { baseUrl: 'https://clockin.java996.icu/clockin-api',