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

慕粉1926506171
2017-05-09
写回答
3回答
-
慕雪1613582
2017-05-09
decorator的post要添加一个then的函数
012017-06-08 -
北鸟南游
2017-06-15
$delegate.get(url).then(function(resp) { def.resolve(resp.data); },function (err) { def.reject(err); }) return { then: function(scb, ecb){ def.promise.then(scb, ecb); } }
112017-08-21 -
慕雪1613582
2017-06-08
return { then: def.promise.then }
00
相似问题