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() } // 获取当前执行的大测试项序号