From 78068d49c20a8b90db902d955f558af507eb8b96 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期四, 11 四月 2024 16:06:12 +0800 Subject: [PATCH] 各页面添加骨架屏 --- packagePersonal/pages/myMassage/index.js | 18 ++++++++++-------- 1 files changed, 10 insertions(+), 8 deletions(-) diff --git a/packagePersonal/pages/myMassage/index.js b/packagePersonal/pages/myMassage/index.js index 34762a5..998b88d 100644 --- a/packagePersonal/pages/myMassage/index.js +++ b/packagePersonal/pages/myMassage/index.js @@ -29,14 +29,14 @@ getDataList(isReachBottom) { app.MG.app.getAppMessageList({ - appRefCode: app.config.appRefCode, - start: this.data.page * this.data.limit - this.data.limit, - size: this.data.limit, - sort: { - type: "Desc", - field: "CreateDate" - } - }) + appRefCode: app.config.appRefCode, + start: this.data.page * this.data.limit - this.data.limit, + size: this.data.limit, + sort: { + type: "Desc", + field: "CreateDate" + } + }) .then(res => { try { if (res.datas.length > 0) { @@ -59,6 +59,8 @@ }) } else { this.setData({ + list: [], + pageTotalCount: 0, skeletonLoding: false, }) } -- Gitblit v1.9.1