asObservable ();. 8. } 9. } 10. . 11. var result = myApi.getData();. 12. result.subscribe({. 13. next: (data)=>{console.log(data)}.
確定! 回上一頁