摘要: 一、插值表达式 基本用法与ng1一样。 可以使用 Angular 内置的 json 管道,来显示对象信息,管道用来格式化数据 import { Component } from '@angular/core'; @Component({ selector: 'app-root', template: 阅读全文
posted @ 2018-02-06 22:30 永醉雨辰 阅读(159) 评论(0) 推荐(0) 编辑