Problems in ant design mobile of react

Why ReactDOM.render () cannot render after the page jumps, and it has no effect

Page code after jump

import React,{Component}from "react";
import ReactDOM from "react-dom";
import { Flex, WhiteSpace,Button } from "antd-mobile";
import U98 from "../images/robotmanage/u98.png";
const Tip = ({ className = "", ...restProps }) => (
    <span className={`${className} tip`} {...restProps}></span>
);
const FlexExample = () => (
    <div className="flex-container">
        <Flex justify="center">
            <img src={U98} alt="u89"/>
        </Flex>
        <Flex justify="center">
            <div>

<Tip />

</div> </Flex> <WhiteSpace size="lg" /> <Flex justify="center"> <Button></Button> <Button></Button> </Flex> <WhiteSpace /> </div> ); ReactDOM.render(<FlexExample />,document.getElementById("root"));

find a solution

Mar.01,2021

it seems that router is not set up


a single page can come out. You can post the routing settings and take a look at

.
Menu