tab1.page.ts 502 B

12345678910111213141516171819
  1. import { Component } from '@angular/core';
  2. import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
  3. @Component({
  4. selector: 'app-tab1',
  5. templateUrl: 'tab1.page.html',
  6. styleUrls: ['tab1.page.scss']
  7. })
  8. export class Tab1Page {
  9. safeHTML: SafeResourceUrl|undefined
  10. constructor(private domSan:DomSanitizer) {
  11. this.safeHTML = domSan.bypassSecurityTrustHtml(``)
  12. }
  13. openGit(){
  14. window.open(`http://git.fmode.cn:3000/nkkj/study-ng-user`,"_blank")
  15. }
  16. }