This commit is contained in:
@jyuhsin
2025-05-07 17:09:28 +08:00
parent 30e8da074c
commit cd5a5c5537
@@ -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])