|

楼主 |
发表于 2016-1-25 15:55:09
|
显示全部楼层
如果在执行popOver展现gif时,要调用action,把action的调用改为异步调用
this.comp("popOver1").show();
var me = this;
setTimeout(function() {
biz.Request.sendAsyncBizRequest({
"context" : me.getContext(),
"action" : "loadDataAction",
"async" : true,
"callback" : function(callbackData) {
callbackData.ignoreError = false;
if (callbackData.state) {
data.loadData(callbackData.response);
me.comp("popOver1").hide();
}
}
});
}, 500);
这个biz 提示'biz' is not defined,应该如何定义? |
|