You can try using the await keyword async ngOnInit() { const value = await db.list.get({id: 1}, temp => this.names = temp); this.myForm.
確定! 回上一頁