...
|
...
|
@@ -57,7 +57,7 @@ export default function() { |
|
|
}
|
|
|
|
|
|
const result = await this.$api.post('/api/ufo/home/newsList', {
|
|
|
page, uid, type, limit
|
|
|
page, type, limit
|
|
|
});
|
|
|
|
|
|
if (result.code === 200) {
|
...
|
...
|
@@ -71,8 +71,7 @@ export default function() { |
|
|
}
|
|
|
},
|
|
|
async fetchNewsTabList({ commit }) {
|
|
|
let uid = '500031170';
|
|
|
const result = await this.$api.post('/api/ufo/home/newsListTab', { uid });
|
|
|
const result = await this.$api.post('/api/ufo/home/newsListTab', {});
|
|
|
if (result.code === 200) {
|
|
|
commit(Types.FETCH_NEWS_TAB_LIST, {list: result.data});
|
|
|
}
|
...
|
...
|
|