From cd5a5c55375d7c82628c7ad98ba31f5a112e210e Mon Sep 17 00:00:00 2001 From: "@jyuhsin" <729757837@qq.com> Date: Wed, 7 May 2025 17:09:28 +0800 Subject: [PATCH] commit --- src/main/resources/views/mobile/train/trainInfo.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/views/mobile/train/trainInfo.html b/src/main/resources/views/mobile/train/trainInfo.html index 105b343..917e86e 100644 --- a/src/main/resources/views/mobile/train/trainInfo.html +++ b/src/main/resources/views/mobile/train/trainInfo.html @@ -792,7 +792,7 @@ layout("/mobile/platform.html"){ }) if (resp.code === 0) { this.tableData = resp.data - this.assortList = Array.from(new Set(this.tableData.courseList.map(o => o.assort).filter(o => o !== '' && o !== undefined))) + this.assortList = Array.from(new Set(this.tableData.courseList.map(o => o.assort).filter(o => o != null && o !== '' && o !== undefined))) this.tempArray = clone(this.tableData) if(this.assortList.length > 0 && this.activityStatus !== '1') { this.tableData.courseList = this.tableData.courseList.filter(o => o.assort === this.assortList[0])