lrf402788946 4 years ago
parent
commit
9d18c4100c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/train-plan/bedroom.vue

+ 1 - 1
src/views/train-plan/bedroom.vue

@@ -148,7 +148,7 @@ export default {
         // 组织数据
         let arr = [];
         for (const key of keys) {
-          if (key === undefined || key === `${undefined}`) {
+          if (key === undefined || key === `${undefined}` || key === null || key === 'null') {
             let obj = { code: '未分寝' };
             obj.list = group[`${key}`];
             arr.push(obj);