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