From c65db083eef77f094f5c3439066c1ec1875d05e0 Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期四, 11 四月 2024 16:09:28 +0800 Subject: [PATCH] js --- packagePersonal/pages/myCollection/index.js | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packagePersonal/pages/myCollection/index.js b/packagePersonal/pages/myCollection/index.js index 1a6e3ff..211f2f0 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({ @@ -167,7 +165,7 @@ icon: 'success', duration: 1000, }) - this.getDataList(false) + that.getDataList(false) }); } else if (res.cancel) { console.log('鐢ㄦ埛鐐瑰嚮浜嗗彇娑�') @@ -176,7 +174,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