|
|
@@ -277,8 +277,8 @@ export default {
|
|
|
subCateId: this.categoryIndex,
|
|
|
yxxTag: 0,
|
|
|
};
|
|
|
- if (params.cateId === 0) {
|
|
|
- delete params.cateId;
|
|
|
+ if (params.subCateId === 0) {
|
|
|
+ delete params.subCateId;
|
|
|
}
|
|
|
const res = await courseListDataApi(params);
|
|
|
if (res.code === 200 && res.data.list.length > 0) {
|