From 5f61cf6d7a3334bfcfe4ccd1ab04d42ad41ecc4f Mon Sep 17 00:00:00 2001 From: vapao Date: Tue, 7 Sep 2021 11:10:04 +0800 Subject: [PATCH] fix issue --- spug_web/src/pages/ssh/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spug_web/src/pages/ssh/index.js b/spug_web/src/pages/ssh/index.js index 9f01d0b..0c3be38 100644 --- a/spug_web/src/pages/ssh/index.js +++ b/spug_web/src/pages/ssh/index.js @@ -116,7 +116,9 @@ function WebSSH(props) { ))} -
{spug_web_terminal}
+ {hosts.length === 0 && ( +
{spug_web_terminal}
+ )} setVisible(false)}/>