From a1a8cc2a0d87a1f33d5fe6c34bef8eb061599a8d Mon Sep 17 00:00:00 2001 From: Lei OT Date: Wed, 19 Mar 2025 11:36:01 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=B8=8D=E6=98=BE=E7=A4=BA=E7=A9=BA?= =?UTF-8?q?=E7=99=BD=E8=AF=84=E5=88=86=E9=A1=B9;=20=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E7=94=9F=E6=88=90=E8=AF=84=E4=BC=B0=E8=A1=A8=E7=9A=84=E5=9F=8E?= =?UTF-8?q?=E5=B8=82=E7=9A=84=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 9 ++++++--- index.js | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index fc0b2a5..375bfce 100644 --- a/index.html +++ b/index.html @@ -38,11 +38,14 @@
- + + + -

Error!

-

{{errorMsg}}

+

No evaluation is required!

+
diff --git a/index.js b/index.js index 51e6b3f..d9c499a 100644 --- a/index.js +++ b/index.js @@ -192,7 +192,7 @@ const index = new Vue({ const itemGroup = groupBy(res.feedbackItemList, (ele) => ele.type); that.feedbackItem.guide = itemGroup.W ? itemGroup.W : []; - that.feedbackItem.driver = itemGroup.Y ? itemGroup.Y : []; + that.feedbackItem.driver = itemGroup.Y ? itemGroup.Y.filter(ele => ele.Describe !== '') : []; let experience = []; if (itemGroup['7']) { experience = experience.concat(itemGroup['7']);