From f72f8966ba4e1715e8df82d5cf1c7e912b6da719 Mon Sep 17 00:00:00 2001 From: yiming <m13691596795@163.com> Date: 星期一, 01 四月 2024 10:21:07 +0800 Subject: [PATCH] 检索的bug --- packagePersonal/pages/myCollection/index.js | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/packagePersonal/pages/myCollection/index.js b/packagePersonal/pages/myCollection/index.js index 1a6e3ff..57f3507 100644 --- a/packagePersonal/pages/myCollection/index.js +++ b/packagePersonal/pages/myCollection/index.js @@ -7,8 +7,7 @@ data: { active: 0, activeName: "FavoriteBookCity", - tabList: [ - { + tabList: [{ label: '鍥句功', key: 0, linkType: 'FavoriteBookCity', @@ -48,7 +47,6 @@ }, tabBookClick(item) { - console.log(item, 1) let that = this; let info = this.data.tabList[item.detail.value] that.setData({ @@ -92,6 +90,7 @@ }) } else { this.setData({ + list: [], skeletonLoding: false, loading: false }) @@ -167,7 +166,7 @@ icon: 'success', duration: 1000, }) - this.getDataList(false) + that.getDataList(false) }); } else if (res.cancel) { console.log('鐢ㄦ埛鐐瑰嚮浜嗗彇娑�') @@ -176,7 +175,9 @@ }) }, goBookDetails(e) { - const { book } = e.currentTarget.dataset; + const { + book + } = e.currentTarget.dataset; wx.navigateTo({ url: `/packageBookService/pages/bookServices/detail/index?id=${book.id}&name=${book.name}`, }); -- Gitblit v1.9.1