Merge pull request #129 from yiliang114/develop

chore: fix typo
This commit is contained in:
reco_luan 2020-03-05 13:01:08 +08:00 committed by GitHub
commit df6c7c803e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ export default {
mounted () { mounted () {
this.recoShowModule = true this.recoShowModule = true
}, },
destoryed () { destroyed () {
this.recoShowModule = false this.recoShowModule = false
} }
} }

View File

@ -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)