From c2cd778fd3f40a75df483758bb2f1fe1dedc7eef Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期五, 26 四月 2024 09:49:25 +0800 Subject: [PATCH] 资源购买页请求慢优化 --- packageDomain/pages/sampleBookList/index.js | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/packageDomain/pages/sampleBookList/index.js b/packageDomain/pages/sampleBookList/index.js index 6817ded..1f8093b 100644 --- a/packageDomain/pages/sampleBookList/index.js +++ b/packageDomain/pages/sampleBookList/index.js @@ -509,11 +509,14 @@ //楂樼骇鍒嗙被閫夋嫨 onChangeIcon(e) { this.setData({ + skeletonLoding: true, + bookList: [], 'assortCheck.code': e.detail.value, stairCode: '', secondCode: '', path: `${e.detail.value}`, 'iconList.value': e.detail.value, + }); this.getBookList(false); this.getStairList(this.data.assortCheck.code); @@ -525,11 +528,14 @@ `${this.data.assortCheck.code}\\${e.detail.value}` : this.data.assortCheck.code; this.setData({ + skeletonLoding: true, + bookList: [], pathList: [], stairCode: e.detail.value, secondCode: '', path: path, 'stairList.value': e.detail.value, + 'secondList.value': "" }); this.getBookList(false); this.getSecondList(path); @@ -546,6 +552,7 @@ }); } this.setData({ + skeletonLoding: true, pathList: pathList, 'secondList.value': e.detail.value, }); -- Gitblit v1.9.1