Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
mlaj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-12-02 22:29:43 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
925b1d71e208088e767475317dd38ef4fc58bf7e
925b1d71
1 parent
b13ed896
style: 将日历中日期的"今天"和"昨天"改为"今日"和"昨日"
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
src/views/teacher/taskHomePage.vue
src/views/teacher/taskHomePage.vue
View file @
925b1d7
<!--
* @Date: 2025-11-19 21:00:00
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-12-02 22:
05:04
* @LastEditTime: 2025-12-02 22:
28:25
* @FilePath: /mlaj/src/views/teacher/taskHomePage.vue
* @Description: 教师端作业主页(头部介绍、统计、日历与学生完成情况;数据Mock)
-->
...
...
@@ -171,10 +171,10 @@ const formatter = (day) => {
if (dateStr === todayStr) {
day.className = 'calendar-today';
day.bottomInfo = '今
天
'
day.bottomInfo = '今
日
'
} else if (dateStr === yesterdayStr) {
day.className = 'calendar-yesterday';
day.bottomInfo = '昨
天
'
day.bottomInfo = '昨
日
'
}
return day
...
...
Please
register
or
login
to post a comment