提交 8313aca7 authored 作者: 王鹏飞's avatar 王鹏飞

bug fixes

上级 b8e072be
...@@ -115,7 +115,7 @@ export default { ...@@ -115,7 +115,7 @@ export default {
} }
}, },
async fetch() { async fetch() {
const params = { project_id: process.env.newProjectId, type_tag: 'kelley_alumni_share' } const params = { project_id: process.env.newProjectId, type_tag: 'kelley_alumni_share', limit: 1 }
this.listData = await this.$axios.get('/api/cms/api/v1/articles', { params }).then(res => res.data.data) this.listData = await this.$axios.get('/api/cms/api/v1/articles', { params }).then(res => res.data.data)
}, },
computed: { computed: {
...@@ -324,4 +324,4 @@ export default { ...@@ -324,4 +324,4 @@ export default {
} }
} }
} }
</style> </style>
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论