Using antDesign to write a page, you will find that sometimes the style is not displayed because there are styles that are not loaded in
It is found that the front-end import is as follows:
import { Modal, Button, Row, Col, Input } from "antd/lib/index";
Just change it to the following.
import { Modal, Button, Row, Col, Input } from "antd";