Browse Source

工作日设置bug修改

sunlupeng 1 year ago
parent
commit
d7ed1ae681
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/personnel/attendance/workday/index.vue

+ 1 - 1
src/views/personnel/attendance/workday/index.vue

@@ -331,7 +331,7 @@ export default {
       return null; // 如果格式不匹配,返回null
     },
     handleDateClick(dateClickInfo) {
-      let thisDate = dateClickInfo.dateStr;
+      let thisDate = dateClickInfo.dateStr || dateClickInfo.event.startStr;
       let strArray = [];
       this.calendarOptions.events.forEach(item => {
         strArray.push(item.start)