2020-9-9号dispatch(...).then is not a function的解决方法

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