You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
395 B
18 lines
395 B
4 years ago
|
const actions = {
|
||
|
/**
|
||
|
* 根据项目id查找所有成员信息
|
||
|
* @param {*} commit
|
||
|
* @param {object} params
|
||
|
*/
|
||
|
async getAllMembers({ commit }, params) {
|
||
|
try {
|
||
|
const data = await uni.$catchReq.queryChecker(params);
|
||
|
commit('setMembers', data);
|
||
|
} catch (error) {
|
||
|
uni.$ui.showToast(error.msg || '成员查询失败');
|
||
|
}
|
||
|
},
|
||
|
};
|
||
|
|
||
|
export default actions;
|