提交 ef75aa4f 编写于 作者: KK's avatar KK

加载参数

上级 1d6c76da
...@@ -25,9 +25,9 @@ export class DataViewServiceBase extends ControlServiceBase { ...@@ -25,9 +25,9 @@ export class DataViewServiceBase extends ControlServiceBase {
data = this.handleRequestData(action, context, data); data = this.handleRequestData(action, context, data);
let response: HttpResponse; let response: HttpResponse;
if (Util.isFunction(this.service[action])) { if (Util.isFunction(this.service[action])) {
response = await this.service[action](context, data); response = await this.service[action](context, data, isLoading);
} else { } else {
response = await this.service.FetchDefault(context, data); response = await this.service.FetchDefault(context, data, isLoading);
} }
if (!response.isError()) { if (!response.isError()) {
response = this.handleResponse(action, response); response = this.handleResponse(action, response);
......
...@@ -25,9 +25,9 @@ export class MdServiceBase extends ControlServiceBase { ...@@ -25,9 +25,9 @@ export class MdServiceBase extends ControlServiceBase {
data = this.handleRequestData(action, context, data); data = this.handleRequestData(action, context, data);
let response: HttpResponse; let response: HttpResponse;
if (Util.isFunction(this.service[action])) { if (Util.isFunction(this.service[action])) {
response = await this.service[action](context, data); response = await this.service[action](context, data, isLoading);
} else { } else {
response = await this.service.FetchDefault(context, data); response = await this.service.FetchDefault(context, data, isLoading);
} }
if (!response.isError()) { if (!response.isError()) {
response = this.handleResponse(action, response); response = this.handleResponse(action, response);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册