提交 149a847e 编写于 作者: Mosher's avatar Mosher

update:更新

上级 d8224207
...@@ -1175,7 +1175,7 @@ import { Environment } from '@/environments/environment'; ...@@ -1175,7 +1175,7 @@ import { Environment } from '@/environments/environment';
if (!(await this.handleCtrlEvents('onbeforeload', { context: tempContext, viewparams: viewparamResult, data: arg }))) { if (!(await this.handleCtrlEvents('onbeforeload', { context: tempContext, viewparams: viewparamResult, data: arg }))) {
return; return;
} }
const get: Promise<any> = this.service.get(this.loadAction, tempContext,{ viewparams: viewparamResult }, this.showBusyIndicator); const response: any = await this.service.get(this.loadAction, tempContext, { viewparams: viewparamResult }, this.showBusyIndicator);
try { try {
if (response && response.status === 200) { if (response && response.status === 200) {
if (!(await this.handleCtrlEvents('onloadsuccess', { data: response.data }))) { if (!(await this.handleCtrlEvents('onloadsuccess', { data: response.data }))) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册