优化代码

This commit is contained in:
RuoYi
2024-06-26 17:40:01 +08:00
parent 7b064d84bb
commit 8eff83e2b4
2 changed files with 4 additions and 6 deletions

View File

@ -127,11 +127,9 @@ export default {
}
authUserSelectAll({ roleId: roleId, userIds: userIds }).then(res => {
this.$modal.msgSuccess(res.msg);
if (res.code === 200) {
this.visible = false;
this.$emit("ok");
}
});
this.visible = false;
this.$emit("ok");
});
}
}
};