优化提示信息

This commit is contained in:
RuoYi
2021-11-22 18:06:44 +08:00
parent 421593c0ba
commit ef4bfde4a8
15 changed files with 46 additions and 46 deletions

View File

@ -123,6 +123,10 @@ export default {
handleSelectUser() {
const roleId = this.queryParams.roleId;
const userIds = this.userIds.join(",");
if (userIds == "") {
this.$modal.msgError("请选择要分配的用户");
return;
}
authUserSelectAll({ roleId: roleId, userIds: userIds }).then(res => {
this.$modal.msgSuccess(res.msg);
if (res.code === 200) {