$http({
method: 'POST',
url: Common.URL.sign_up,
data: {
phone: _m.phone,
}
}).success(function(data){
}).error(function() {
/* Act on the event */
});
发现在chrome下,捕捉的请求类型都是 OPTIONS的,而不是POST的,大神请教如何解决?(注,url是跨域的,但server端已做了允许跨域处理)
method: 'POST',
url: Common.URL.sign_up,
data: {
phone: _m.phone,
}
}).success(function(data){
}).error(function() {
/* Act on the event */
});
发现在chrome下,捕捉的请求类型都是 OPTIONS的,而不是POST的,大神请教如何解决?(注,url是跨域的,但server端已做了允许跨域处理)