//无问题片段
onLoad: function (options) {
var that=this;
that.getUserDi();
},
getUserDi:function(){
var that = this;
api.post({
url:"****",
success:function (res) {
console.log('111');
}
});
}
//有问题片段
onLoad: function (options) {
var that=this;
that.getUserDistribution();
},
getUserDistribution:function(){
var that = this;
api.post({
url:"******",
success:function (res) {
console.log('22222');
}
});
}
检查下是否是哪里重复调用了