From e4541e6a2ba21bb83cccfd7899ef2537822e4215 Mon Sep 17 00:00:00 2001 From: lzx_win <2602107437@qq.com> Date: Thu, 16 Oct 2025 16:07:37 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=B8=BA=E5=BC=80=E5=8F=91=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E5=B9=B6=E5=90=AF=E7=94=A8=E5=88=9D=E5=A7=8B=E5=8C=96=E6=95=B0?= =?UTF-8?q?=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将默认环境从生产环境改为开发环境,并更新开发环境的baseUrl。同时取消注释human.vue中的初始化数据调用,确保页面加载时数据正确初始化。移除拍照打卡按钮的冗余代码。 --- config.js | 5 +++-- pages/subPack/human/human.vue | 15 +++++++++++---- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/config.js b/config.js index 85d4684..3242be5 100644 --- a/config.js +++ b/config.js @@ -6,13 +6,14 @@ import uvUI from '@/uni_modules/uv-ui-tools' Vue.use(uvUI); // 当前环境 -const type = 'prod' +const type = 'dev' // 环境配置 const config = { dev: { - 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', diff --git a/pages/subPack/human/human.vue b/pages/subPack/human/human.vue index c338f46..ea7d502 100644 --- a/pages/subPack/human/human.vue +++ b/pages/subPack/human/human.vue @@ -72,7 +72,7 @@ 立即核验 - + {