|
|
@@ -267,7 +267,8 @@ export default {
|
|
|
searchText: this.searchText,
|
|
|
page: this.list.page,
|
|
|
pageSize: 10,
|
|
|
- hdId:hdId
|
|
|
+ hdId:hdId,
|
|
|
+ requestType:'album'
|
|
|
}).then(res => {
|
|
|
this.completes(res)
|
|
|
}).catch(err => {
|
|
|
@@ -275,7 +276,6 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
reachBottom () {
|
|
|
- console.log('reachBottom----------', this.list.finished)
|
|
|
if (this.list.finished == false) {
|
|
|
// 根据是否为搜索模式决定调用哪个方法
|
|
|
if (this.isSearchMode) {
|
|
|
@@ -307,7 +307,7 @@ export default {
|
|
|
},
|
|
|
// 列表
|
|
|
getGoodList () {
|
|
|
- return getList({ ...this.form, page: this.list.page,pageSize:10 }) .then(res => {
|
|
|
+ return getList({...this.form, page: this.list.page,pageSize:10,requestType:'album'}) .then(res => {
|
|
|
// 处理商品列表数据,completes方法来自list混入
|
|
|
// 该方法会处理分页数据,更新list对象的data、page、finished等属性
|
|
|
// res包含接口返回的商品列表数据,completes方法会将数据添加到this.list.data中
|