angular5+webpack使用Dialog遇到的坑

趁熱乎來寫一下關於angular5+webpack3使用angular material組件Dialog遇到的坑 1.如果需要【彈出框】交互數據,必須在同一個typeScript註冊組件,這樣才能接收主組件傳參。如下: 導入包: import { OnDestroy, OnInit, Component, Input, Inject } from '@angular/core'; import {
相關文章
相關標籤/搜索