Explorar o código

打开风格设置

RichardSpace369 %!s(int64=3) %!d(string=hai) anos
pai
achega
2806ea2a84
Modificáronse 1 ficheiros con 5 adicións e 2 borrados
  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>
 	);
 };