{"Response":{"Error":{"Code":"NoSuchVersion","Message":"The specified API version does not exist."},"RequestId":"c5cdbda5-8d86-44a0-a3f3-852bfa8bc0fa"}}[附加信息]
我遇到了问题,因为我试图在我的useContext之外调用Context.Provider,所以我将逻辑转移到提供程序的子组件中。现在,我收到了一个错误消息TypeError: Object is not iterable (cannot read property Symbol(Symbol.iterator)),其中我在子组件中调用从上下文或其他方面获取值真的有问题吗?import AuthContextProvider from ".authContext.js