lrf402788946 4 năm trước cách đây
mục cha
commit
9d18c4100c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);