Skip to content

Commit

Permalink
perf:远程应用不输入密码也能下载RDP文件
Browse files Browse the repository at this point in the history
  • Loading branch information
huailei000 committed Dec 22, 2023
1 parent c81b226 commit ff296ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/app/elements/asset-tree/asset-tree.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit ff296ec

Please sign in to comment.