Flow.jsx 687 Bytes
Newer Older
熊成伟's avatar
熊成伟 committed
1
import React, {useEffect} from 'react';
熊成伟's avatar
熊成伟 committed
2
import StepCard from '../../components/StepCard'
熊成伟's avatar
熊成伟 committed
3
// import axiosRequest from '../../utils/request';
熊成伟's avatar
熊成伟 committed
4

熊成伟's avatar
熊成伟 committed
5
const Flow = (props) => {
熊成伟's avatar
熊成伟 committed
6 7
    const {data} = props
    // const [data, setData] = useState([])
熊成伟's avatar
熊成伟 committed
8
    useEffect(() => {
熊成伟's avatar
熊成伟 committed
9 10 11 12 13 14 15 16
        // const {tableId} = props;
        // axiosRequest({
        //     method: 'post',
        //     url: `/dgbg/MobileGetFlowsByTabId.view?userName=2012012099&clientFlag=123456&tableId=${tableId}`,
        // }).then(res => {
        //     console.log(res)
        //     setData([])
        // });
熊成伟's avatar
熊成伟 committed
17
    }, []);
熊成伟's avatar
熊成伟 committed
18
    return (
熊成伟's avatar
熊成伟 committed
19
        <div>
熊成伟's avatar
熊成伟 committed
20
           <StepCard data={data}/>
熊成伟's avatar
熊成伟 committed
21 22 23 24 25
        </div>
    );
};

export default Flow;