|
|
|
@ -91,7 +91,7 @@ |
|
|
|
|
type: this.$param.methodType, |
|
|
|
|
userkey: this.$param.userkey, |
|
|
|
|
}; |
|
|
|
|
this.$Request.get(this.$config.getMethodList, requestData, '', '', false, '').then(res => { |
|
|
|
|
this.$Request.get(this.$config.getMethodList, requestData, '', '', false, true).then(res => { |
|
|
|
|
this.class_list = res.data |
|
|
|
|
this.pic_list = this.class_list.filter((item, index) => { |
|
|
|
|
return item.isrecommend == 'YES' |
|
|
|
@ -123,7 +123,7 @@ |
|
|
|
|
}, |
|
|
|
|
// 获取列表数据 |
|
|
|
|
getListData() { |
|
|
|
|
this.$Request.get(this.$config.getMethodRecommendList, this.parames, '', '', false, '').then(res => { |
|
|
|
|
this.$Request.get(this.$config.getMethodRecommendList, this.parames, '', '', false, true).then(res => { |
|
|
|
|
const curPageData = res.data || [] // 当前页数据 |
|
|
|
|
if (this.mescroll.num == 1) this.data_list = []; // 第一页需手动制空列表 |
|
|
|
|
this.data_list = [...this.data_list, ...curPageData] |
|
|
|
|