fix: update

parent 584c1787
<iframe #rdp [src]="trust(target)" (mouseover)="active()"></iframe>
<iframe #rdp [src]="trust(target)" (mouseenter)="active()"></iframe>
<div #term (mouseover)="active()"></div>
<div #term (mouseenter)="active()"></div>
......@@ -40,15 +40,15 @@ export class PagesControlNavComponent implements OnInit {
});
NavList.List[index].hide = false;
NavList.Active = index;
// if (!NavList.List[index].edit) {
// if (NavList.List[index].type === 'ssh') {
// NavList.List[index].Term.focus();
// } else if (NavList.List[index].type === 'rdp') {
if (!NavList.List[index].edit) {
if (NavList.List[index].type === 'ssh') {
NavList.List[index].Term.focus();
} else if (NavList.List[index].type === 'rdp') {
// NavList.List[index].Rdp.focus();
// }
// } else {
//
// }
}
} else {
}
}
constructor() {
......
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