pay-company/src/common/components/layout/MyRootContainer.tsx

20 lines
445 B
TypeScript
Raw Normal View History

2026-01-08 16:35:06 +08:00
import { ConfigProvider } from 'antd';
import { ReactNode } from 'react';
import { MyLoading } from './MyLoading';
export function MyRootContainer({ children }: { children: ReactNode }) {
return (
<ConfigProvider
// 输入框圆角
theme={{
token: {
borderRadius: 3,
},
}}
>
<MyLoading />
{/* <AliveScope>{children}</AliveScope> */}
{children}
</ConfigProvider>
);
}