From f4ea510c5d46a1f302cb012758cb78acfa48a702 Mon Sep 17 00:00:00 2001 From: caozehui <2427765068@qq.com> Date: Wed, 26 Feb 2025 15:56:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=951?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/.env.production | 1 + frontend/src/api/home/channelsTest/index.ts | 2 +- frontend/src/views/home/components/test.vue | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/frontend/.env.production b/frontend/.env.production index ff73dbb..ee07a24 100644 --- a/frontend/.env.production +++ b/frontend/.env.production @@ -22,4 +22,5 @@ VITE_DROP_CONSOLE=true VITE_PWA=true # 线上环境接口地址 +# VITE_API_URL="/api" # 打包时用 VITE_API_URL="http://192.168.1.125:18092/" diff --git a/frontend/src/api/home/channelsTest/index.ts b/frontend/src/api/home/channelsTest/index.ts index 876d855..b520b4a 100644 --- a/frontend/src/api/home/channelsTest/index.ts +++ b/frontend/src/api/home/channelsTest/index.ts @@ -2,5 +2,5 @@ import http from "@/api"; //系数校准发送基本信息 export const getCoefficientCheck = (params: any) => { - return http.post(`/prepare/coefficientCheck`, params) + return http.post(`/prepare/coefficientCheck`, params,{loading: false}) } \ No newline at end of file diff --git a/frontend/src/views/home/components/test.vue b/frontend/src/views/home/components/test.vue index 0dfc2cc..f2af1d2 100644 --- a/frontend/src/views/home/components/test.vue +++ b/frontend/src/views/home/components/test.vue @@ -556,7 +556,7 @@ watch(webMsgSend, function (newValue, oldValue) { case 'Resume_Success': ElMessage.success('开始继续检测') emit('update:testStatus', 'process') - //handleResumeTest() + handleResumeTest() break; // case 'Resume_Fail': // ElMessage.error('无法继续检测') @@ -1359,7 +1359,7 @@ const handleReCheck = () => { count = 0 showTestLog() - handleResumeTest() + //handleResumeTest() } // 获取当前执行的大测试项序号