commit
This commit is contained in:
@@ -792,7 +792,7 @@ layout("/mobile/platform.html"){
|
|||||||
})
|
})
|
||||||
if (resp.code === 0) {
|
if (resp.code === 0) {
|
||||||
this.tableData = resp.data
|
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)
|
this.tempArray = clone(this.tableData)
|
||||||
if(this.assortList.length > 0 && this.activityStatus !== '1') {
|
if(this.assortList.length > 0 && this.activityStatus !== '1') {
|
||||||
this.tableData.courseList = this.tableData.courseList.filter(o => o.assort === this.assortList[0])
|
this.tableData.courseList = this.tableData.courseList.filter(o => o.assort === this.assortList[0])
|
||||||
|
|||||||
Reference in New Issue
Block a user