fix(project/detail): fix own

This commit is contained in:
zhangheng
2026-02-24 17:49:09 +08:00
parent 62ba2fa5cf
commit 77a9571b72
14 changed files with 241 additions and 175 deletions

View File

@@ -5,7 +5,6 @@ import { useEffect } from "react"
import {
useAllTaskStore,
useAllUserStore,
useOwnTaskStore,
usePermissionStore,
} from "./store/auth"
import { getUserAll, getUserGroupTree } from "./api/user"
@@ -91,7 +90,6 @@ export function OptStore() {
useEffect(() => {
if (pathname !== "/project/info/detail" && pathname !== "/label") {
useAllTaskStore.getState().resetParams()
useOwnTaskStore.getState().resetParams()
}
}, [pathname])

View File

@@ -588,7 +588,7 @@ export default function ProjectInfoPage({
withBorder
p="md"
radius="md"
style={{ borderColor: "rgba(0,0,0,0.06)" }}>
style={{ borderColor: "var(--mantine-color-brand-text)" }}>
<Group justify="space-between" wrap="wrap" gap="sm">
<Group gap="xs">
<Text fw={700}>
@@ -765,7 +765,7 @@ export default function ProjectInfoPage({
p="md"
radius="md"
style={{
borderColor: "rgba(0,0,0,0.06)",
borderColor: "var(--mantine-color-brand-text)",
flex: 1,
minHeight: 0,
display: "flex",