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-13 14:01:23 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a562eb6a786a22c1c578b1672844c049c2e8bff3
a562eb6a
1 parent
dfca5ee3
fix(StudyDetailPage): 处理课程时间为空时的显示问题
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/views/study/StudyDetailPage.vue
src/views/study/StudyDetailPage.vue
View file @
a562eb6
...
...
@@ -226,7 +226,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>
</div>
...
...
Please
register
or
login
to post a comment