home.component.ts 326 Bytes
Newer Older
李彥志's avatar
李彥志 committed
1
import { Component, OnInit } from '@angular/core';
李彥志's avatar
李彥志 committed
2
import { dataList } from './dataList.const';
李彥志's avatar
李彥志 committed
3 4 5 6 7 8 9 10

@Component({
  selector: 'app-home',
  templateUrl: './home.component.html',
  styleUrls: ['./home.component.css']
})
export class HomeComponent implements OnInit {

李彥志's avatar
李彥志 committed
11 12
  list = dataList;

李彥志's avatar
李彥志 committed
13 14 15 16 17 18
  constructor() { }

  ngOnInit() {
  }

}