hookehuyr

style: 将日历中日期的"今天"和"昨天"改为"今日"和"昨日"

1 <!-- 1 <!--
2 * @Date: 2025-11-19 21:00:00 2 * @Date: 2025-11-19 21:00:00
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2025-12-02 22:05:04 4 + * @LastEditTime: 2025-12-02 22:28:25
5 * @FilePath: /mlaj/src/views/teacher/taskHomePage.vue 5 * @FilePath: /mlaj/src/views/teacher/taskHomePage.vue
6 * @Description: 教师端作业主页(头部介绍、统计、日历与学生完成情况;数据Mock) 6 * @Description: 教师端作业主页(头部介绍、统计、日历与学生完成情况;数据Mock)
7 --> 7 -->
...@@ -171,10 +171,10 @@ const formatter = (day) => { ...@@ -171,10 +171,10 @@ const formatter = (day) => {
171 171
172 if (dateStr === todayStr) { 172 if (dateStr === todayStr) {
173 day.className = 'calendar-today'; 173 day.className = 'calendar-today';
174 - day.bottomInfo = '今' 174 + day.bottomInfo = '今'
175 } else if (dateStr === yesterdayStr) { 175 } else if (dateStr === yesterdayStr) {
176 day.className = 'calendar-yesterday'; 176 day.className = 'calendar-yesterday';
177 - day.bottomInfo = '昨' 177 + day.bottomInfo = '昨'
178 } 178 }
179 179
180 return day 180 return day
......