From b8d395e625c9ebdb971b68f4ca41df71d6ce05fa Mon Sep 17 00:00:00 2001 From: vapao Date: Wed, 15 Mar 2023 11:28:18 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=91=E6=8E=A7=E4=B8=AD=E5=BF=83=E7=9B=91?= =?UTF-8?q?=E6=8E=A7=E5=9C=B0=E5=9D=80=E6=94=AF=E6=8C=81=E9=80=97=E5=8F=B7?= =?UTF-8?q?=E7=A9=BA=E6=A0=BC=E8=87=AA=E5=8A=A8=E5=88=86=E9=9A=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spug_web/src/pages/monitor/Step1.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spug_web/src/pages/monitor/Step1.js b/spug_web/src/pages/monitor/Step1.js index 007cb2b..9c14ac2 100644 --- a/spug_web/src/pages/monitor/Step1.js +++ b/spug_web/src/pages/monitor/Step1.js @@ -83,7 +83,7 @@ export default observer(function () { } function getStyle(t) { - return t.includes(store.record.type) ? {display: 'flex'} : {display: 'none'} + return t.includes(store.record.type) ? {} : {display: 'none'} } const {name, desc, type, targets, extra, group} = store.record; @@ -117,6 +117,7 @@ export default observer(function () { store.record.targets = v} placeholder="IP或域名,支持多个地址,每输入完成一个后按回车确认" notFoundContent={null}/>