File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ export default {
5353 computed: {
5454 // 时间降序后的博客列表
5555 posts () {
56+ this ._setPage (this ._getStoragePage ())
5657 let posts = this .$currentCategories .pages
5758 posts = this ._filterPostData (posts)
5859 this ._sortPostData (posts)
@@ -66,7 +67,6 @@ export default {
6667
6768 mounted () {
6869 this .recoShow = true
69- this ._setPage (this ._getStoragePage ())
7070 },
7171
7272 methods: {
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ export default {
4444 computed: {
4545 // 时间降序后的博客列表
4646 posts () {
47+ this ._setPage (this ._getStoragePage ())
4748 let posts = this .$currentTags .pages
4849 posts = this ._filterPostData (posts)
4950 this ._sortPostData (posts)
@@ -53,7 +54,6 @@ export default {
5354
5455 mounted () {
5556 this .recoShow = true
56- this ._setPage (this ._getStoragePage ())
5757 },
5858
5959 methods: {
You can’t perform that action at this time.
0 commit comments