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 })