ApplicationRef at R3Injector.push../node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js.R3Injector.hydrate (core.js:11763)
at R3Injector.push/node_modules/@
我在我的节点js app中有一个for循环;在这个循环中,每次迭代都可以执行mysql查询(并不总是依赖);查询是异步的,我在成功回调中获得结果;但我需要for循环的每个迭代都等待回调完成(如果需要)://resArray.push( //push in resArray the result of stuff done above ) }else {
//