import { Route, Routes } from 'react-router-dom'; import { FC, Suspense } from 'react'; import React from 'react'; const Recharge = React.lazy(() => import("@p/Recharge/index")) const RechargeRecords = React.lazy(() => import("@p/RechargeRecords/index")) const Return = React.lazy(() => import("@p/Return/index")) const App: FC = () => { return ( } /> } /> } /> ) } export default App;