@@ -1422,7 +1422,8 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
- const userIds = row.userId || this.ids;
+ // 确保 userIds 始终是数组
+ const userIds = row.userId ? [row.userId] : this.ids;
// 筛选出 userType 为 '00' 的 userId
const excludedUserIds = this.userList