From ddfc3f553120cd2dc08a2f2172f12c752adc65a0 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期三, 03 七月 2024 14:51:44 +0800 Subject: [PATCH] 优化 --- src/components/examinations/index.vue | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/components/examinations/index.vue b/src/components/examinations/index.vue index d6d99a8..ac8b3ba 100644 --- a/src/components/examinations/index.vue +++ b/src/components/examinations/index.vue @@ -686,7 +686,7 @@ ).errorList; for (let index = 0; index < errorId.length; index++) { const item = errorId[index]; - if (oldErrodId.indexOf(item == -1)) { + if (oldErrodId.indexOf(item) == -1) { oldErrodId.push(item); } } @@ -857,6 +857,7 @@ ).errorList; } } catch (error) {} + console.log('閿欓鍒楄〃',this.allError) }) .catch(() => {}); }, -- Gitblit v1.9.1