From 7aa6b10f8ecda0678f3618fab365a3149ae6bf74 Mon Sep 17 00:00:00 2001 From: LiLongLong <13717757313@163.com> Date: Mon, 30 Jun 2025 11:33:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/default.vue | 4 ++-- src/views/liquid/index.vue | 2 +- src/views/seal/index.vue | 5 +++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/layouts/default.vue b/src/layouts/default.vue index 8ed8621..b4d8d4f 100644 --- a/src/layouts/default.vue +++ b/src/layouts/default.vue @@ -157,8 +157,8 @@ const toggleLanguage = () => { - - + + {{ language.name }} diff --git a/src/views/liquid/index.vue b/src/views/liquid/index.vue index c6747ad..4412bdd 100644 --- a/src/views/liquid/index.vue +++ b/src/views/liquid/index.vue @@ -56,7 +56,7 @@ watchEffect(() => { }) watch(inputValue, (newVal: string | number) => { - stopatg.value = newVal + stopatg.value = Number(newVal) }) const subScribeLiquid = () => { // 事件订阅 diff --git a/src/views/seal/index.vue b/src/views/seal/index.vue index b947916..edce483 100644 --- a/src/views/seal/index.vue +++ b/src/views/seal/index.vue @@ -119,12 +119,13 @@ const onFinishTest = () => { fnName: 'stop', params: {}, } - // 停止倒计时 - stopPosityveTimer() loading.value = true syncSendCmd(stopParams).then((res) => { if (res.ackcode === 0) { + // 停止倒计时 + stopPosityveTimer() FtMessage.success('测试已停止') + sealRemainTimeS.value = '' } loading.value = false }).finally(() => {