修改我的收藏显示BUG
This commit is contained in:
parent
27e9aa34b5
commit
efad411cf9
|
@ -170,7 +170,10 @@
|
||||||
getTopCategory().then((res) => {
|
getTopCategory().then((res) => {
|
||||||
console.log('编目一级=============>', res.data)
|
console.log('编目一级=============>', res.data)
|
||||||
res.data.data.forEach((val) => {
|
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)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue