File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1- import { useEffect } from "react" ;
21import { post } from "@/utils/request" ;
32import { Typography } from "antd" ;
43import style from "./articleCom.module.less" ;
@@ -16,6 +15,7 @@ export default function ArticleCom({ item }: IProps) {
1615
1716 const handleClick = async ( ) => {
1817 const res : any = await post ( "/user/postDetail" , { download_url } ) ;
18+ console . log ( "res" , res ) ;
1919 } ;
2020 return (
2121 < div className = { style . item } onClick = { handleClick } >
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { List, Typography } from "antd";
33import style from "./index.module.less" ;
44import { post } from "@/utils/request" ;
55import useCustomReducer from "@/hooks/useCusReducer" ;
6- import { Link , useNavigate } from "react-router-dom" ;
6+ import { useNavigate } from "react-router-dom" ;
77export default function BFE ( ) {
88 const nav = useNavigate ( ) ;
99 const [ state , dispatch ] = useCustomReducer ( {
You can’t perform that action at this time.
0 commit comments