Browse Source

BUG修复:#13421 用户管理-BUG:用户信息列表删除时,已选中记录数量未变更问题

GDW 3 weeks ago
parent
commit
0efdf3c401
1 changed files with 4 additions and 0 deletions
  1. 4 0
      jeecgboot-vue3/src/views/system/user/index.vue

+ 4 - 0
jeecgboot-vue3/src/views/system/user/index.vue

@@ -424,6 +424,10 @@
       return;
     }
     await deleteUser({ id: record.id }, reload);
+    let number = selectedRowKeys.value.indexOf(record.id);
+    if (number !== -1) {
+      selectedRowKeys.value.splice(number, 1);
+    }
   }
   /**
    * 批量删除事件