Unverified Commit 0b74facc authored by 老广's avatar 老广 Committed by GitHub

Merge pull request #54 from jumpserver/dev

[Update] 支持vnc (#53)
parents 67a61f9d 10cc1055
...@@ -182,7 +182,7 @@ export class ElementAssetTreeComponent implements OnInit, OnChanges { ...@@ -182,7 +182,7 @@ export class ElementAssetTreeComponent implements OnInit, OnChanges {
NavList.List[id].user = user; NavList.List[id].user = user;
if (user.protocol === 'ssh' || user.protocol === 'telnet') { if (user.protocol === 'ssh' || user.protocol === 'telnet') {
NavList.List[id].type = 'ssh'; NavList.List[id].type = 'ssh';
} else if (user.protocol === 'rdp') { } else if (user.protocol === 'rdp' || user.protocol === 'vnc') {
NavList.List[id].type = 'rdp'; NavList.List[id].type = 'rdp';
} }
NavList.List.push(new View()); NavList.List.push(new View());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment