From a662e9b6f9f851ac155c37fddf58ad0c5d47a51d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E8=88=AA?= Date: Thu, 25 Sep 2025 15:58:51 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9B=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 6 +++--- src/pages/course/study.vue | 37 +++++++++++++++++++------------------ 2 files changed, 22 insertions(+), 21 deletions(-) diff --git a/.env.development b/.env.development index 70f1284a..bc0a284c 100644 --- a/.env.development +++ b/.env.development @@ -19,12 +19,12 @@ VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7001' # h5专用地址x2 -#VITE_APP_BASE_H5_API_Url = 'http://25.18.122.65:7001' +VITE_APP_BASE_H5_API_Url = 'http://25.18.122.65:7001' # VITE_APP_BASE_H5_API_Url = 'http://25.18.122.91:9786' # VITE_APP_BASE_H5_API_Url = 'http://25.18.122.78:9786' -VITE_APP_BASE_H5_API_Url_TRAAPP = 'http://25.64.16.130:9601' -VITE_APP_BASE_H5_API_Url_TRASTUDY = 'http://25.64.16.130:9602' +# VITE_APP_BASE_H5_API_Url_TRAAPP = 'http://25.64.16.130:9601' +# VITE_APP_BASE_H5_API_Url_TRASTUDY = 'http://25.64.16.130:9602' # VITE_APP_BASE_H5_API_Url_TRAASK = 'http://25.64.16.144:9605' diff --git a/src/pages/course/study.vue b/src/pages/course/study.vue index bae45d32..17bb4724 100644 --- a/src/pages/course/study.vue +++ b/src/pages/course/study.vue @@ -819,24 +819,25 @@ if (watchFlag.value === 1) return // getData('2'); // initsocketTask() - if (!isPreview.value) { - studyStartApi({ - crsId: crsId.value, - teacherNo: choiceTeacher.value, - studyType: isPreview.value ? 'P' : 'S', - isContinue: 'Y', - stdyId: stdyId.value - }).then(res => { - const { - body - } = res - stdyId.value = body.stdyId || '' - stdyBatch.value = body.stdyBatch || '' - oldStdyId.value = body.oldStdyId || '' - logId.value = body.logId || '' - step.value = 2 - }).catch(err => {}) - } + // 注释显示时开始新纪录 + // if (!isPreview.value) { + // studyStartApi({ + // crsId: crsId.value, + // teacherNo: choiceTeacher.value, + // studyType: isPreview.value ? 'P' : 'S', + // isContinue: 'Y', + // stdyId: stdyId.value + // }).then(res => { + // const { + // body + // } = res + // stdyId.value = body.stdyId || '' + // stdyBatch.value = body.stdyBatch || '' + // oldStdyId.value = body.oldStdyId || '' + // logId.value = body.logId || '' + // step.value = 2 + // }).catch(err => {}) + // } }) const watchFlag = ref(1) onUnload(() => {