From 3963ae3ae3ebc2908905bb1409799d7b883a802f Mon Sep 17 00:00:00 2001 From: yiming <m13691596795@163.com> Date: 星期三, 27 三月 2024 10:59:54 +0800 Subject: [PATCH] 书目bug --- pages/bibliographyList/index.js | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/pages/bibliographyList/index.js b/pages/bibliographyList/index.js index 2ec369e..c02f54b 100644 --- a/pages/bibliographyList/index.js +++ b/pages/bibliographyList/index.js @@ -7,6 +7,7 @@ * 椤甸潰鐨勫垵濮嬫暟鎹� */ data: { + downloadLoadin: false, isMore: null, higherList: [], vocationalList: [], @@ -253,6 +254,9 @@ }, downloadData(event) { + this.setData({ + downloadLoadin: true + }) console.log(111); const item = event.currentTarget.dataset.item; // console.log(item.datas.freeFile.Value); @@ -282,6 +286,13 @@ console.log('涓嬭浇鏂囦欢澶辫触', res); } }); + + setTimeout(() => { + this.setData({ + downloadLoadin: false + }); + }, 2000); + }, onSearchSubmit: function (e) { const keyword = e.detail.value; @@ -371,7 +382,7 @@ this.setData({ start: 1, - + }) this.higherGet(keyword) -- Gitblit v1.9.1