From c57ec64e634d62d806f2120800efc427f36a9f17 Mon Sep 17 00:00:00 2001
From: liuyuchuan <liuyuchuan0710@gmail.com>
Date: Tue, 08 Feb 2022 18:08:22 +0800
Subject: [PATCH] 修改错误单词拼写,由**Capcha**改为**Captcha**
---
ruoyi-ui/src/views/system/role/selectUser.vue | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/ruoyi-ui/src/views/system/role/selectUser.vue b/ruoyi-ui/src/views/system/role/selectUser.vue
index a9e2ce0..02610d8 100644
--- a/ruoyi-ui/src/views/system/role/selectUser.vue
+++ b/ruoyi-ui/src/views/system/role/selectUser.vue
@@ -123,6 +123,10 @@
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) {
--
Gitblit v1.9.3