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])