Преглед изворни кода

考勤功能-修复两个排班时今日班次显示不全

zhonghuizhen пре 1 година
родитељ
комит
0bf50348e2
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/views/system/dashboard/components/util.js

+ 1 - 1
src/views/system/dashboard/components/util.js

@@ -610,7 +610,7 @@ export function buildComponent (name, column, preview, vm) {
                                 this.scheduleShift = scheduleShift
                                 if (shift) {
                                     const shiftList = shift.split(',')
-                                    todaySchedule = shiftList // 返回今日班次
+                                    todaySchedule = todaySchedule.concat(shiftList) // 返回今日班次
                                 }
                             })
                             console.log(todaySchedule)