HarmonyOS task.on\('failed'\) 无法拿到具体的错误信息?

阅读 569
1 个回答

on(failed) 的时候,调用 request.agent.show 接口,得到 TaskInfo ,taskinfo.faults 得到错误 。