angular5+webpack使用Dialog遇到的坑

趁热乎来写一下关于angular5+webpack3使用angular material组件Dialog遇到的坑 1.如果需要【弹出框】交互数据,必须在同一个typeScript注册组件,这样才能接收主组件传参。如下: 导入包: import { OnDestroy, OnInit, Component, Input, Inject } from '@angular/core'; import {
相关文章
相关标签/搜索