Browse Source

feat: save

gemercheung 6 months ago
parent
commit
893f9d9dc0
1 changed files with 2 additions and 0 deletions
  1. 2 0
      packages/frontend/src/views/pms/role/role-user.vue

+ 2 - 0
packages/frontend/src/views/pms/role/role-user.vue

@@ -204,6 +204,7 @@ function handleBatchAdd(ids = userIds.value) {
   if (!ids.length)
     return $message.error('请先选择用户')
   $dialog.confirm({
+    title: '提示',
     content: `确认分配【${route.query.roleName}】?`,
     async confirm() {
       await api.addRoleUsers(roleId, { userIds: ids })
@@ -218,6 +219,7 @@ function handleBatchRemove(ids = userIds.value) {
   if (!ids.length)
     return $message.error('请先选择用户')
   $dialog.confirm({
+    title: '提示',
     content: `确认取消分配【${route.query.roleName}】?`,
     async confirm() {
       await api.removeRoleUsers(roleId, { userIds: ids })