修改默认跳转

This commit is contained in:
al 2024-11-21 19:12:45 +08:00
parent bd091a5895
commit a7a07af414
1 changed files with 1 additions and 1 deletions

View File

@ -495,7 +495,7 @@ export default function PostMachineReview() {
const navigate = useNavigate(); const navigate = useNavigate();
//tab //tab
const location = useLocation(); const location = useLocation();
const pathname = location.pathname.split("/")[2] || "onlySelfCanSee"; const pathname = location.pathname.split("/")[2] || "operatorReviewing";
const [current, setCurrent] = useState(pathname); const [current, setCurrent] = useState(pathname);
//tab //tab
const items = [ const items = [