Sfoglia il codice sorgente

打开风格设置

RichardSpace369 3 anni fa
parent
commit
2806ea2a84
1 ha cambiato i file con 5 aggiunte e 2 eliminazioni
  1. 5 2
      src/layout/adminLayout.tsx

+ 5 - 2
src/layout/adminLayout.tsx

@@ -90,11 +90,14 @@ const adminLayout: React.FC<
 				)}>
 				<PageContainer>{children}</PageContainer>
 			</ProLayout>
-			{process.env.NODE_ENV === 'development' ? (
+			{/* {process.env.NODE_ENV === 'development' ? (
 				<SettingDrawer
 					settings={layoutConfigState}
 					onSettingChange={changeLayoutSeting}></SettingDrawer>
-			) : null}
+			) : null} */}
+			<SettingDrawer
+				settings={layoutConfigState}
+				onSettingChange={changeLayoutSeting}></SettingDrawer>
 		</div>
 	);
 };