fix(bug): fix router

This commit is contained in:
zhangheng
2026-03-27 15:13:41 +08:00
parent 764d0a726f
commit 72f1610fc3
7 changed files with 35 additions and 30 deletions

View File

@@ -188,7 +188,7 @@ export default function OwnTaskTableContainer(props: {
const backUrl = type
? `/project/detail?id=${projectId}&type=${type}`
: `/project/detail?id=${projectId}`
setBackProps(backUrl, "own")
setBackProps(backUrl, "own", "/image")
if (info && [4, 5, 6, 7].includes(info.label_type)) {
router.push(

View File

@@ -456,7 +456,7 @@ export default function TaskTableContainer(props: {
const backUrl = type
? `/project/detail?id=${projectId}&type=${type}`
: `/project/detail?id=${projectId}`
setBackProps(backUrl, "all")
setBackProps(backUrl, "all", "/image")
if (info && [4, 5, 6, 7].includes(info.label_type)) {
router.push(

View File

@@ -167,7 +167,7 @@ export default function CollectionDetailPage() {
const backUrl = type
? `/project/detail?id=${projectId}&type=${type}`
: `/project/detail?id=${projectId}`
setBackProps(backUrl, next)
setBackProps(backUrl, next, "/image")
}}
style={{
paddingLeft: 14,