RuoYi
2022-02-23 cb5a6d29e2ca814c7291a3fec811f96d2974b0ce
ruoyi-ui/src/views/system/role/selectUser.vue
@@ -123,8 +123,12 @@
    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.msgSuccess(res.msg);
        this.$modal.msgSuccess(res.msg);
        if (res.code === 200) {
          this.visible = false;
          this.$emit("ok");