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-06-12 18:23:09 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
57316662dcb27497fca0d217380cb15427026ea4
57316662
1 parent
89a3896b
fix(StudyCoursePage): 处理课程时间为空时显示'暂无'
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/views/study/StudyCoursePage.vue
src/views/study/StudyCoursePage.vue
View file @
5731666
...
...
@@ -82,7 +82,7 @@
<div class="flex items-center text-sm text-gray-500">
<span>{{ course_type_maps[lesson.course_type] }}</span>
<span v-if="course_type_maps[lesson.course_type]" class="mx-2">|</span>
<span>开课时间: {{
dayjs(lesson.schedule_time).format('YYYY-MM-DD')
}}</span>
<span>开课时间: {{
lesson.schedule_time ? dayjs(lesson.schedule_time).format('YYYY-MM-DD') : '暂无'
}}</span>
<span class="mx-2">|</span>
<span>课程时长: {{ lesson.duration }} 分钟</span>
<!-- <span class="mx-2">|</span> -->
...
...
Please
register
or
login
to post a comment