Showing
1 changed file
with
2 additions
and
0 deletions
| ... | @@ -275,6 +275,8 @@ async function fetchData() { | ... | @@ -275,6 +275,8 @@ async function fetchData() { |
| 275 | } else { | 275 | } else { |
| 276 | upload_count.value = 0 | 276 | upload_count.value = 0 |
| 277 | } | 277 | } |
| 278 | + } else { | ||
| 279 | + $router.push('/teacher/tasks') | ||
| 278 | } | 280 | } |
| 279 | } catch (error) { | 281 | } catch (error) { |
| 280 | console.error('Failed to fetch task details:', error) | 282 | console.error('Failed to fetch task details:', error) | ... | ... |
-
Please register or login to post a comment