forked from nsjcy/frontEnd/nsjcy

liuwh
2020-03-05 63de1e2ae6d1197d28d4cf1f6c191e6effeb978b
SunshineIns/src/page/CareList.jsx
@@ -77,7 +77,18 @@
        this.setState({
            formData: data,
        });
        this.getData();
        this.setState({ loading: true })
        Fetch.socialQuery({ ...data })
            .then(res => {
                console.log(res)
                for (var i = 0; i < res.rows.length; i++) {
                    res.rows[i]['index'] = i + 1;
                }
                this.setState({
                    data: res.rows,
                    loading: false,
                });
            });
    }
    getData = () => {