|
@@ -59,8 +59,8 @@ const actions = {
|
|
|
commit('imgNewsQuery', res);
|
|
|
return res;
|
|
|
},
|
|
|
- async contentsQuery ({ commit }, { parentCode, bind, limit, title }) {
|
|
|
- const res = await $axios.get(api.contentsQuery, { title, parentCode, bind, skip: 0, limit: limit || 5 });
|
|
|
+ async contentsQuery ({ commit }, { parentCode, bind, limit, title, recommend }) {
|
|
|
+ const res = await $axios.get(api.contentsQuery, { recommend, title, parentCode, bind, skip: 0, limit: limit || 5 });
|
|
|
return res;
|
|
|
},
|
|
|
async linkTypeQuery ({ commit }) {
|