精品类型未选中时默认全部

This commit is contained in:
670788339
2025-11-10 08:50:47 +08:00
parent 1720f91da1
commit 117f80850e

View File

@@ -1209,6 +1209,9 @@ export default {
params.pageNum = pageIndex
params.orderByType = orderField
params.courseSource = this.ctypeList.findIndex(e => e.checked)
if (params.courseSource === -1) {
params.courseSource = 0
}
this.yearChosen.length && (params.years = this.yearChosen)
params.courseName = this.keyword
delete params.userId