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 | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packagePersonal/pages/myCollection/index.js b/packagePersonal/pages/myCollection/index.js index 11f17f1..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', @@ -175,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