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])