How does antd use ajax to call an interface with parameters in the background?

1. I want to write a login interface that needs to receive a jump link to the data judgment page sent from the background. The interface given by the backend has parameters, and you need to pass the user name and password to the interface link. I don"t know how to write it in antd.
2.

class Login extends Component {
    render() {
        return (
            <div className="App">
                <header className="App-header">
                    <img src={img} className="App-logo" alt="img" />

                </header>
                <form className="App-intro" id="login">
                    

<lable>:</lable> <input type="text"/>

<lable> :</lable> <input type="text"/>

<button></button> </form> </div> ); } } export default Login;

3.

4. Because I have just come into contact with antd, I don"t have a train of thought yet. Please help me. Thank you!

Mar.11,2021

compare with any example of react login, it really doesn't work. Ask


you have nothing to do with antd .
this is the form uncontrolled . You need to add ref to input , and then in the event handler function of login button, get value of input . Initiate a login request


antd pro take a look at this, there is a ready-made login


look here, form

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-1b3ce70-2c332.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-1b3ce70-2c332.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?