|
biz.Request.sendAsyncBizRequest({
"context" : this.getContext(),
"action": "demoAsync",
"callback": function(data) {
data.ignoreError = false;
if (data.state) {
justep.Util.hint("同步调用成功");
// 输出返回结果
TextOut.appendText(result, "返回执行结果 - " + data.response + " - " + justep.Date.toString(new Date(), justep.Date.DEFAULT_FORMAT));
}
}});
/UI2/demo/actions/process/invokeAction/mainActivity.w 案例中的异步调用合适于 BeX5, 在X5.2.7版本中如何实现异步调用action?
|
|