dispatch(…).then is not a function
注意看model层的effect层和reducer是否写对?之前的项目错误原因:编辑和删除没有到effect文件中。
export default {
effect: {
{} //接口请求
},
reducer: {}
}
2020-9-9号dispatch(...).then is not a function的解决方法
最新推荐文章于 2023-11-13 19:16:03 发布
dispatch(…).then is not a function
注意看model层的effect层和reducer是否写对?之前的项目错误原因:编辑和删除没有到effect文件中。
export default {
effect: {
{} //接口请求
},
reducer: {}
}