修改默认跳转 #13
|
@ -495,7 +495,7 @@ export default function PostMachineReview() {
|
|||
const navigate = useNavigate();
|
||||
//当前tab
|
||||
const location = useLocation();
|
||||
const pathname = location.pathname.split("/")[2] || "onlySelfCanSee";
|
||||
const pathname = location.pathname.split("/")[2] || "operatorReviewing";
|
||||
const [current, setCurrent] = useState(pathname);
|
||||
//tab名称
|
||||
const items = [
|
||||
|
|
Loading…
Reference in New Issue