fix(style): dark style

This commit is contained in:
jialin
2025-04-29 18:05:43 +08:00
parent e5aa5ace15
commit 954b034b8b
23 changed files with 176 additions and 111 deletions
+3 -1
View File
@@ -99,6 +99,7 @@ export default (props: any) => {
const { initialize: initialize } = useOverlayScroller({
defer: false
});
const [modal, contextHolder] = Modal.useModal();
const { themeData, setTheme, userSettings, isDarkTheme } = useUserSettings();
const { saveScrollHeight, restoreScrollHeight } = useBodyScroll();
const { initialize: initializeMenu } = useOverlayScroller();
@@ -132,7 +133,7 @@ export default (props: any) => {
const showVersion = () => {
saveScrollHeight();
Modal.info({
modal.info({
...modalConfig,
width: 460,
content: <VersionInfo intl={intl} />,
@@ -477,6 +478,7 @@ export default (props: any) => {
)}
</Exception>
</ProLayout>
{contextHolder}
</ConfigProvider>
);
};