Authored by yyq

fix columnType

... ... @@ -31,6 +31,7 @@ export default {
},
created() {
this.id = +this.$route.params.id;
this.columnType = +this.$route.query.columnType || 1001;
},
activated() {
let {columnType} = this.$route.query;
... ... @@ -52,7 +53,8 @@ export default {
return this.fetchArticleList({
articleId,
limit: 2,
thumb: true
thumb: true,
columnType: this.columnType
});
},
computed: {
... ...