commit
df6c7c803e
@ -7,7 +7,7 @@ export default {
|
|||||||
mounted () {
|
mounted () {
|
||||||
this.recoShowModule = true
|
this.recoShowModule = true
|
||||||
},
|
},
|
||||||
destoryed () {
|
destroyed () {
|
||||||
this.recoShowModule = false
|
this.recoShowModule = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -7,8 +7,8 @@ export default {
|
|||||||
$categories: { list: articles }
|
$categories: { list: articles }
|
||||||
} = this
|
} = this
|
||||||
|
|
||||||
let posts = articles.reduce((allData, currnetData) => {
|
let posts = articles.reduce((allData, currentData) => {
|
||||||
return [...allData, ...currnetData.pages]
|
return [...allData, ...currentData.pages]
|
||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
posts = filterPosts(posts)
|
posts = filterPosts(posts)
|
||||||
|
Loading…
Reference in New Issue
Block a user