import { Component } from '@angular/core';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.scss']
})
export class AppComponent {
  title = 'app-angular';
  //zijijiade

  selectedModule: string = 'module1'
  selectedTab = 1;
  selectTab(tab: number) {
    this.selectedTab = tab;
    // 声明selectedModule属性，并初始化为初始值
  }
}
