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