From ff296ec84b1a3979d5f47f5f76f4393d6a4fe3a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Chuailei000=E2=80=9D?= <2280131253@qq.com> Date: Fri, 22 Dec 2023 14:18:39 +0800 Subject: [PATCH] =?UTF-8?q?perf:=E8=BF=9C=E7=A8=8B=E5=BA=94=E7=94=A8?= =?UTF-8?q?=E4=B8=8D=E8=BE=93=E5=85=A5=E5=AF=86=E7=A0=81=E4=B9=9F=E8=83=BD?= =?UTF-8?q?=E4=B8=8B=E8=BD=BDRDP=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/elements/asset-tree/asset-tree.component.scss | 4 ++++ .../connect-dialog/connect-method/connect-method.component.ts | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/app/elements/asset-tree/asset-tree.component.scss b/src/app/elements/asset-tree/asset-tree.component.scss index 28b18ee4..e9e2442f 100644 --- a/src/app/elements/asset-tree/asset-tree.component.scss +++ b/src/app/elements/asset-tree/asset-tree.component.scss @@ -184,6 +184,10 @@ tr:hover { color: rgb(204, 204, 204); width: 20px; line-height: 30px; + &.fa-square-o { + font-weight: bold; + padding: 0 0 0 6px; + } } .tree-banner-icon:hover { diff --git a/src/app/elements/connect/connect-dialog/connect-method/connect-method.component.ts b/src/app/elements/connect/connect-dialog/connect-method/connect-method.component.ts index c32e8c35..88edd681 100644 --- a/src/app/elements/connect/connect-dialog/connect-method/connect-method.component.ts +++ b/src/app/elements/connect/connect-dialog/connect-method/connect-method.component.ts @@ -99,7 +99,7 @@ export class ElementConnectMethodComponent implements OnInit { if (this.account && !this.account.has_secret) { const aliases = ['@USER', '@INPUT']; // 同名账号、手动输入可以下载RDP文件 - if (!aliases.includes(this.account.alias) || (!this.manualAuthInfo.secret || !this.manualAuthInfo.username)) { + if (!aliases.includes(this.account.alias) || (!this.manualAuthInfo.username)) { return false; } }