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 14:14:25 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ad4f8c78cdcf9e0ca5bfd65111eb8e8f71751d0a
ad4f8c78
1 parent
b0393e2a
fix(teacher): 修复任务详情获取失败时未跳转的问题
当获取任务详情失败时,自动跳转到任务列表页面
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
src/views/teacher/taskHomePage.vue
src/views/teacher/taskHomePage.vue
View file @
ad4f8c7
...
...
@@ -275,6 +275,8 @@ async function fetchData() {
} else {
upload_count.value = 0
}
} else {
$router.push('/teacher/tasks')
}
} catch (error) {
console.error('Failed to fetch task details:', error)
...
...
Please
register
or
login
to post a comment