How can the data obtained from the interface with axios be added to react?

1. Use axios to get the data in the interface. If you want to add the data to the span tag in render, how to add it?
2.axios.get ("", {

)
        timeout: 1000,
    })
        .then(function (response) {
            var lists=response.data.data;
            var problem=lists.ASK_CONTENT;
            console.log(problem);
        })
        .catch(function (error) {
            console.log(11111);
        });
        
        

render () {

    const { getFieldDecorator } = this.props.form;
    const formItemLayout = {
        labelCol: { span: 6 },
        wrapperCol: { span: 14 },
    };
    return (
        <Form onSubmit={this.handleSubmit}>
            <FormItem
                {...formItemLayout}
                label=":"
                className="problems"
            >
                <span className="ant-form-text wenti">problem</span>
            </FormItem>

3.
clipboard.png

clipboard.png

Mar.01,2021

there should be a state manager, such as redux, mobx, and so on. It would be nice if the data obtained by
is directly setState .
recommend dva

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bdd864-313a3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bdd864-313a3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?