代码调整

This commit is contained in:
dong 2022-10-08 16:58:18 +08:00
parent 062a5f2d73
commit 623b42332e

View File

@ -288,6 +288,10 @@ export default {
this.doClose();
},
handleEditOperate(index, row) {
if (!row.memberId) {
this.$message.info('请先选择角色!');
return;
}
const member = this.$store.state.training.memberData[row.memberId];
if (!member.userId) {
assignUsersPlayRoles([{ userId: this.$store.state.user.id, memberId: member.id}], this.$route.query.group).then(resp => {