From fa45fef42e7ccca5b8a3bbbb69bab45761e6ae50 Mon Sep 17 00:00:00 2001 From: "jqtmviyu@gmail.com" Date: Thu, 25 Feb 2021 22:19:57 +0800 Subject: [PATCH] =?UTF-8?q?uni.showToast=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/goods_list/goods_list.vue | 51 ++++++++++++++++------------- 1 file changed, 28 insertions(+), 23 deletions(-) diff --git a/src/pages/goods_list/goods_list.vue b/src/pages/goods_list/goods_list.vue index 1566178..fb56ab5 100644 --- a/src/pages/goods_list/goods_list.vue +++ b/src/pages/goods_list/goods_list.vue @@ -2,7 +2,7 @@ - + @@ -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,32 +117,32 @@ export default { \ No newline at end of file