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({