优化代码

This commit is contained in:
RuoYi
2024-06-29 22:45:51 +08:00
parent 8694501a7e
commit 2a73de34f0
3 changed files with 6 additions and 8 deletions

View File

@@ -127,10 +127,8 @@ 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");
});
}
}