fix(image): fix bug

This commit is contained in:
zhangheng
2026-03-16 21:04:13 +08:00
parent 9c72686436
commit 371f8d9cb6
4 changed files with 6 additions and 11 deletions

View File

@@ -60,8 +60,6 @@ export default function OwnTaskTableContainer(props: {
const router = useRouter()
const { setBackProps } = useBackUrlStore()
const user_id = usePermissionStore((s) => s.user_id)
const user_name = usePermissionStore((s) => s.user_name)
const user_password = usePermissionStore((s) => s.user_password)
const [total, setTotal] = useState(0)
@@ -265,7 +263,7 @@ export default function OwnTaskTableContainer(props: {
},
]
return cols
}, [info, projectId, router, setBackProps, type, user_name, user_password])
}, [info, projectId, router, setBackProps, type])
return (
<Stack gap="sm" style={{ flex: 1, minHeight: 0 }}>

View File

@@ -133,9 +133,6 @@ export default function TaskTableContainer(props: {
const projectId =
typeof id === "string" && !isNaN(Number(id)) ? Number(id) : -1
const user_name = usePermissionStore((s) => s.user_name)
const user_password = usePermissionStore((s) => s.user_password)
const router = useRouter()
const { setBackProps } = useBackUrlStore()