pages/digitalCourses/index.js
@@ -21,7 +21,7 @@ activeItem: null, loading: false, contentLoading: false, noData:false, noData: false, shoppingCartGetId: [], sorter: { value: "*", @@ -175,6 +175,9 @@ }, getCourseList(item) { this.setData({ noData: false, }) let searchObj = {} let sort = {} // // 搜索框 @@ -231,10 +234,11 @@ } } app.MG.store.getProductList(obj).then((res) => { if(!res.datas.length) { if (!res.datas.length) { return this.setData({ noData:true, contentLoading:false courseList: [], noData: true, contentLoading: false }) } res.datas.forEach(item => {