Commit 6d403a4d by yanju

修改话题列表页

parent 2b53e899
...@@ -104,6 +104,8 @@ export default { ...@@ -104,6 +104,8 @@ export default {
methods:{ methods:{
// 最新的话题列表 // 最新的话题列表
dataGetTopicList(currentPage){ dataGetTopicList(currentPage){
this.fromType = '';
this.$axios.$get(config.api.get.Topic.list,{ this.$axios.$get(config.api.get.Topic.list,{
params:{ params:{
page:currentPage, page:currentPage,
...@@ -131,6 +133,8 @@ export default { ...@@ -131,6 +133,8 @@ export default {
}, },
// 热门话题 // 热门话题
dataGetHotTopicList(currentPage) { dataGetHotTopicList(currentPage) {
this.fromType = '';
this.$axios.$get(config.api.get.Topic.hotList,{ this.$axios.$get(config.api.get.Topic.hotList,{
params:{ params:{
page:currentPage, page:currentPage,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment