forked from gzzfw/frontEnd/gzDyh

dminyi
2024-09-07 d2280c384e4b8f6acef1e01f400e3c61c97d82d9
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' }}>