gz-customerSystem/src/views/register/matterDetail/index.jsx
@@ -143,11 +143,15 @@ // 更多数据... ]; useEffect(() => { console.log(props); getCaseInfo(props.caseId) }, [props.caseId]) //获取id const getCaseInfo = async () => { const res = await getCaseInfoApi('24083010062110001') const getCaseInfo = async (id) => { const res = await getCaseInfoApi(id) if (res.type) { let data = res.data @@ -160,11 +164,6 @@ } } // useEffect(() => { // getCaseInfo() // }, []) return ( <div style={{ position: 'relative' }}>