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-03 16:50:47 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
12381e45469802e7ee781d216320ef242f4796f0
12381e45
1 parent
c58343e9
fix: 修复课程不存在时跳转逻辑的代码格式问题
调整else语句的缩进格式以保持代码风格一致
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
src/views/courses/CourseDetailPage.vue
src/views/courses/CourseDetailPage.vue
View file @
12381e4
...
...
@@ -580,13 +580,13 @@ onMounted(async () => {
}
default_list.value = task_list.value;
} else {
}
}
else {
// 课程不存在,跳转到课程主页面
showToast('课程不存在')
router.push('/courses')
}
}
// TAG: 录入个人信息表单的标记, 进入页面时清理所有info_entry_completed_开头的localStorage标记
const keysToRemove = []
...
...
Please
register
or
login
to post a comment