...
|
...
|
@@ -51,7 +51,7 @@ export default function() { |
|
|
console.log(obj);
|
|
|
let { isResetPage, limit, page, totalPage, type } = obj;
|
|
|
const result = await this.$api.post('/api/ufo/home/newsList', {
|
|
|
page, type: type || '', limit, uid: 500031928,
|
|
|
page, type: type || '', limit,
|
|
|
});
|
|
|
|
|
|
if (result.code === 200) {
|
...
|
...
|
@@ -67,7 +67,7 @@ export default function() { |
|
|
}
|
|
|
},
|
|
|
async fetchNewsTabList({ commit }) {
|
|
|
const result = await this.$api.post('/api/ufo/home/newsListTab', {uid: 500031928});
|
|
|
const result = await this.$api.post('/api/ufo/home/newsListTab', {});
|
|
|
if (result.code === 200) {
|
|
|
commit(Types.FETCH_NEWS_TAB_LIST, {list: result.data});
|
|
|
return result;
|
...
|
...
|
|