|
@@ -1,4 +1,5 @@
|
|
|
import { Component } from '@angular/core';
|
|
|
+import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
|
|
|
|
|
|
@Component({
|
|
|
selector: 'app-tab1',
|
|
@@ -7,6 +8,12 @@ import { Component } from '@angular/core';
|
|
|
})
|
|
|
export class Tab1Page {
|
|
|
|
|
|
- constructor() {}
|
|
|
+ safeHTML: SafeResourceUrl|undefined
|
|
|
+ constructor(private domSan:DomSanitizer) {
|
|
|
+ this.safeHTML = domSan.bypassSecurityTrustHtml(``)
|
|
|
+ }
|
|
|
+ openGit(){
|
|
|
+ window.open(`http://git.fmode.cn:3000/nkkj/study-ng-user`,"_blank")
|
|
|
+ }
|
|
|
|
|
|
}
|