fix(detail): change detail

This commit is contained in:
zhangheng
2026-02-24 16:39:29 +08:00
parent ee635b3ee4
commit 62ba2fa5cf
18 changed files with 11 additions and 23 deletions

View File

@@ -360,8 +360,8 @@ export default function ProjectInfoPage({
}}
onClick={() => {
const url = type
? `/management/person/collection/detail?id=${record.id}&type=${type}`
: `/management/person/collection/detail?id=${record.id}`
? `/management/project/detail?id=${record.id}&type=${type}`
: `/management/project/detail?id=${record.id}`
router.push(url)
}}>
<Text
@@ -590,18 +590,6 @@ export default function ProjectInfoPage({
radius="md"
style={{ borderColor: "rgba(0,0,0,0.06)" }}>
<Group justify="space-between" wrap="wrap" gap="sm">
{/* <SegmentedControl
value={type}
data={[
{ label: "全部项目", value: "all" },
{ label: "我的收藏", value: "collect" },
{ label: "动态项目", value: "dynamic" },
]}
onChange={(v) => {
const next = v as PageType
router.replace(`/management/person/collection?type=${next}`)
}}
/> */}
<Group gap="xs">
<Text fw={700}>
{type === "collect"