Ver código fonte

打开风格设置

RichardSpace369 3 anos atrás
pai
commit
2806ea2a84
1 arquivos alterados com 5 adições e 2 exclusões
  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>
 	);
 };