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-04 13:49:23 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f6a79209d6575b3b0c88536c774df78906b59d81
f6a79209
1 parent
0a626114
fix: 修复课程详情页标题显示问题
动态设置页面标题为课程标题或默认值
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/views/courses/CourseDetailPage.vue
src/views/courses/CourseDetailPage.vue
View file @
f6a7920
...
...
@@ -351,7 +351,7 @@ import { checkinTaskAPI } from '@/api/checkin';
const $route = useRoute();
const $router = useRouter();
useTitle(
$route.meta.title
);
useTitle(
`${course.value.title || '课程详情'}`
);
const route = useRoute()
const router = useRouter()
...
...
Please
register
or
login
to post a comment