Commit 07c8f024 by yanju

删除重复元素

parent e24b8c02
...@@ -139,20 +139,6 @@ export default { ...@@ -139,20 +139,6 @@ export default {
childId: val.categoryId.toString(), childId: val.categoryId.toString(),
}) })
}) })
childListData.data.map((val,index)=>{
childList.push({
label: val.category,
address: '/blog',
childId: val.categoryId.toString(),
})
})
childListData.data.map((val,index)=>{
childList.push({
label: val.category,
address: '/blog',
childId: val.categoryId.toString(),
})
})
this.list[index+1].childList = childList this.list[index+1].childList = childList
} }
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment