|
@@ -205,7 +205,7 @@ class BedroomService extends CrudService {
|
|
|
}
|
|
|
const havepersonList = [];
|
|
|
for (const key of keys) {
|
|
|
- if (key === undefined || key === 'undefined') continue;
|
|
|
+ if (key === undefined || key === 'undefined' || key === null || key === 'null') continue;
|
|
|
// 取出分组后,以寝室id为key的学生列表
|
|
|
const list = stuBedIdGroup[key];
|
|
|
// 找到寝室obj
|