|
|
@@ -113,7 +113,7 @@ export default {
|
|
113
|
113
|
async getPosts(params, dispatchType) {
|
|
114
|
114
|
if(!this.type) throw `post type: ${this.type} not found...`
|
|
115
|
115
|
let res = []
|
|
116
|
|
-
|
|
|
116
|
+ console.log('$route :', $route)
|
|
117
|
117
|
// We always grab all pages on hero init so no need to do it here
|
|
118
|
118
|
if(this.pType && this.keepFetching && this.type != 'page') {
|
|
119
|
119
|
res = await this.$store.dispatch(
|