怎样在外部读取到jquery ajax中回调函数的值
$.ajax({
url:'/mall/credit',
type: 'get',
dataType:'json',
success: function(response){
credit = response.data.credit;
},
error: function(){
alert("error");
}
});
蓝大人浏览器
9 years, 5 months ago