修改我的收藏显示BUG

This commit is contained in:
a0049873 2022-06-14 12:03:39 +08:00
parent 27e9aa34b5
commit efad411cf9
1 changed files with 4 additions and 1 deletions

View File

@ -170,7 +170,10 @@
getTopCategory().then((res) => {
console.log('编目一级=============>', res.data)
res.data.data.forEach((val) => {
// tabList.value.push(val.name)
if (val.name == '应用资源' || val.name == '组件服务') {
tabList.value.push(val.name)
}
})
})
}