报错TypeError: Object(...)(...).then(...) is not a function"

错误原因:

1. api封装的接口名引入错误

2.可能有多余的括号

原文地址:https://www.cnblogs.com/ahalvxiaobu/p/13791582.html