uni.showToast弹窗

This commit is contained in:
jqtmviyu@gmail.com 2021-02-25 22:19:57 +08:00
parent e24fdd64d3
commit fa45fef42e

View File

@ -86,6 +86,11 @@ export default {
//
if(Params.pagenum >= TotalPage){
console.log("没有下一页数据了")
uni.showToast({
title: "没有更多数据了",
icon:"none",
mask: true,
})
}else{
console.log("翻页")
Params.pagenum++
@ -112,7 +117,7 @@ export default {
</script>
<style lang="scss">
.composite {
.composite {
.composite_item {
display: flex;
padding: 10rpx 0;
@ -139,5 +144,5 @@ export default {
}
}
}
}
}
</style>