fix(detail): change detail
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user