empty: {
icon:'../static/ic_not_wares.png',
warpId :'warpId',
tip: '暂无商品', // 提示
},
在HBuildX内置浏览器中可以显示占位图 但运行在手机上就不显示了
let that = this;
that.$Network.get(that.$Api.url.ware.goodsList, data).then((res) => {
if (res.data.data.pages > that.upOption.page.num) {
that.upOption.page.num++
that.mescroll.endSuccess(index, true)
}else{
that.mescroll.endSuccess(index, false)
}
}).catch((err) => {
console.log('request fail', err);
})
且报错 request fail , TypeError: Cannot read property 'endSuccess' of null
1 个回复
wenju - https://www.mescroll.com -- 精致的下拉刷新和上拉加载组件