$http.post(...).then is not a function
来源:6-6 用户模块逻辑编写-使用装饰器

慕粉1926506171
2017-05-09
写回答
1回答
-
qq_莳萝泡菜_03359237
2017-05-09
第1张图片,http.js里面,你给post添加的是success和error方法;
第2张图片,registerCtrl.js里面,你又用了then方法;
正确姿势:要么把registerCtrl.js中的then方法改成success方法;要么把http.js中的success和error方法改成then方法
10
相似问题