From 679857473a39f2b57322694af929e87b4eaf8e6e Mon Sep 17 00:00:00 2001 From: aixianling Date: Fri, 15 Jul 2022 18:33:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=95=E9=83=A8=E5=AF=BC=E8=88=AA=E6=A0=8F?= =?UTF-8?q?=E5=85=A8=E9=83=A8=E5=8F=AF=E4=BB=A5=E6=9B=B4=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/rest/custom/detail.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rest/custom/detail.js b/src/rest/custom/detail.js index a22e130..1299d1d 100644 --- a/src/rest/custom/detail.js +++ b/src/rest/custom/detail.js @@ -15,7 +15,7 @@ module.exports = { ]).then(() => { data.appList = data.appList.filter(Boolean).map(e => { if (data.type == 'mp') { - e.tabbar = e.id == data.extra?.tabBar.list?.[2]?.id + e.tabbar = data.extra?.tabBar.list?.map(c => c.id)?.includes(e.id) } return e })