From 7ebad7d6b9adf56b1343518e06931e4c9da4e8f4 Mon Sep 17 00:00:00 2001 From: caozehui <2427765068@qq.com> Date: Wed, 8 Jan 2025 19:11:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/home/components/preTest.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/home/components/preTest.vue b/frontend/src/views/home/components/preTest.vue index c17222c..34df0b9 100644 --- a/frontend/src/views/home/components/preTest.vue +++ b/frontend/src/views/home/components/preTest.vue @@ -464,7 +464,7 @@ watch(webMsgSend,function (newValue,oldValue){ case 'DATA_REQUEST$02': if (newValue.code == 10200) { let type = 'info' - if(newValue.data.contain('不合格')){ + if(newValue.data.includes('不合格')){ type = 'error' } step4InitLog.value.push({