|
@@ -89,12 +89,8 @@ export default {
|
|
},
|
|
},
|
|
getList(init = false) {
|
|
getList(init = false) {
|
|
if (this.paging(this.content, init)) return;
|
|
if (this.paging(this.content, init)) return;
|
|
- this.content.where.sat_courseware_classids = [
|
|
|
|
- [
|
|
|
|
- this.crumbs[1].parentid,
|
|
|
|
- this.crumbs[2].parentid,
|
|
|
|
- ].filter(v => v)
|
|
|
|
- ]
|
|
|
|
|
|
+ let ids = this.crumbs.map(v => v.parentid).filter(v => v);
|
|
|
|
+ this.content.where.sat_courseware_classids = ids.length ? [[ids[ids.length - 1]]] : []
|
|
this.$Http.basic({
|
|
this.$Http.basic({
|
|
"id": 20240318101802,
|
|
"id": 20240318101802,
|
|
content: this.content
|
|
content: this.content
|