fengxiang
2018-07-31 eef69fa1194f6ab215b08a8baaf402d0539362cc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { Component, OnInit } from '@angular/core';
import { _HttpClient } from '@delon/theme';
import { Moment } from 'moment';
 
@Component({
  selector: 'app-aqi-detail',
  templateUrl: './aqi-detail.component.html',
})
export class AqiDetailComponent implements OnInit {
    public dayData;
    public selectedMoment:Moment;
    constructor(
        private http: _HttpClient
    ) { }
    public get formatDate(): string {
        return this.selectedMoment.format('YYYY-MM-DD');
    }
    ngOnInit() {
    }
 
}