From 3eb50ce7a6141022c90b7c18390903afc6cb65a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=86=E5=85=89LG?= Date: Mon, 20 Oct 2025 15:25:27 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=88=A4=E6=96=AD=E6=98=AF=E5=90=A6=E6=9C=89?= =?UTF-8?q?=E7=9B=91=E8=80=83=E5=AF=86=E7=A0=81=E5=AD=97=E6=AE=B5=E7=BB=91?= =?UTF-8?q?=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/examPaper/infoEnter/index.vue | 4 ++-- src/views/examPaper/paperInfo/index.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/examPaper/infoEnter/index.vue b/src/views/examPaper/infoEnter/index.vue index e895d29..1b2bdbc 100644 --- a/src/views/examPaper/infoEnter/index.vue +++ b/src/views/examPaper/infoEnter/index.vue @@ -114,7 +114,7 @@ const inputCode = ref('') const goExam = async () => { const localhostIp = localStorage.getItem('serverIP') || '' const httpMode = localStorage.getItem('httpMode') || '' - if (examStore.buttonEnable.is_exam_password === '1') { + if (examStore.buttonEnable.isExamPassword === '1') { //不需要密码 AppControlCheckApi(localhostIp).then(({ data: { data } }) => { // 格式化返回结果 @@ -174,7 +174,7 @@ const goExam = async () => { confirmButtonClass: 'el-button--success', closeOnClickModal: false, beforeClose: (action, instance, done) => { - if (action === 'confirm' && inputCode.value === examStore.buttonEnable.exam_password) { + if (action === 'confirm' && inputCode.value === examStore.buttonEnable.examPassword) { // 密码正确 done() AppControlCheckApi(localhostIp).then(({ data: { data } }) => { diff --git a/src/views/examPaper/paperInfo/index.vue b/src/views/examPaper/paperInfo/index.vue index 2306d8b..7981b02 100644 --- a/src/views/examPaper/paperInfo/index.vue +++ b/src/views/examPaper/paperInfo/index.vue @@ -65,7 +65,7 @@ const inputCode = ref('') const goExam = async () => { const localhostIp = localStorage.getItem('serverIP') || '' const httpMode = localStorage.getItem('httpMode') || '' - if (examStore.buttonEnable.is_exam_password === '1') { + if (examStore.buttonEnable.isExamPassword === '1') { //不需要密码 AppControlCheckApi(localhostIp).then(({ data: { data } }) => { // 格式化返回结果 @@ -125,7 +125,7 @@ const goExam = async () => { confirmButtonClass: 'el-button--success', closeOnClickModal: false, beforeClose: (action, instance, done) => { - if (action === 'confirm' && inputCode.value === examStore.buttonEnable.exam_password) { + if (action === 'confirm' && inputCode.value === examStore.buttonEnable.examPassword) { // 密码正确 done() AppControlCheckApi(localhostIp).then(({ data: { data } }) => {