From 4e58a640e45da4174799d94b0842d6dbc69a7d7d Mon Sep 17 00:00:00 2001 From: whyour Date: Sat, 26 Feb 2022 14:24:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9error=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/index.less | 1 - src/pages/error/index.tsx | 6 +++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/index.less b/src/components/index.less index 755f4704..b565f972 100644 --- a/src/components/index.less +++ b/src/components/index.less @@ -13,7 +13,6 @@ } .react-terminal { - height: 600px; overflow: auto; display: flex; flex-direction: column; diff --git a/src/pages/error/index.tsx b/src/pages/error/index.tsx index 04643e5f..f87f2599 100644 --- a/src/pages/error/index.tsx +++ b/src/pages/error/index.tsx @@ -43,7 +43,11 @@ const Error = ({ user, theme }: any) => { { type: LineType.Input, value: 'pm2 logs panel' }, { type: LineType.Output, - value: {data}, + value: ( +
+                  {data}
+                
+ ), }, ]} />