ngOnInit(): void { } }. 這樣即完成了一個簡單的跨視窗傳值範例,而如果想要開啟後自動載入資料可以依照下面範例調整。 home.component.html <p>home works!
確定! 回上一頁