Commit 62e434bd by yuananting

fix:线上课课程分类树请求限制

parent 9b03f172
......@@ -2,7 +2,7 @@
* @Author: 吴文洁
* @Date: 2020-08-05 10:11:57
* @LastEditors: yuananting
* @LastEditTime: 2021-07-09 17:19:22
* @LastEditTime: 2021-07-12 14:14:47
* @Description: 线上课-搜索模块
* @Copyright: 杭州杰竞科技有限公司 版权所有
*/
......@@ -64,7 +64,7 @@ class VideoCourseFilter extends React.Component {
}
StoreService.getStoreDetail(params).then((res) => {
const { result = {} } = res;
AidToolService.queryCategoryTreeByPackage({coursePackageId: result.coursePackageId}).then((res) => {
result.coursePackageId && AidToolService.queryCategoryTreeByPackage({coursePackageId: result.coursePackageId}).then((res) => {
const { result = [] } = res;
this.setState({categoryList: this.renderTreeNodes(result)})
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment