diff --git a/front/src/views/personalCenter/components/Collection.vue b/front/src/views/personalCenter/components/Collection.vue index b2cccccc..b8f89db6 100644 --- a/front/src/views/personalCenter/components/Collection.vue +++ b/front/src/views/personalCenter/components/Collection.vue @@ -170,7 +170,10 @@ getTopCategory().then((res) => { console.log('编目一级=============>', res.data) res.data.data.forEach((val) => { - tabList.value.push(val.name) + // tabList.value.push(val.name) + if (val.name == '应用资源' || val.name == '组件服务') { + tabList.value.push(val.name) + } }) }) }