Object(...)(...).then is not a function

遇到这种问题,先去看你用的这个方法是不是一个promise对象,不是promise的话不能.then !!
Object(...)(...).then is not a function
1.如:这就不是一个promise对象,
Object(...)(...).then is not a function
2.如:这就是一个promise对象, http.post或者http.get都是promise对象
Object(...)(...).then is not a function

3.这样请求的话就会出现上面的报错: Object(…)(…).then is not a function (错误的!!)
Object(...)(...).then is not a function

4.正确的请求:
Object(...)(...).then is not a function

重点:如果不知道如何看的话,直接console.log()一下这个方法就可以知道是否为promise对象
如:
Object(...)(...).then is not a function
打印:Object(...)(...).then is not a function

以上只是自己的见解,如有不对,还请大佬指点一下!