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

数据视图基类调整

上级 01264e5f
...@@ -22,7 +22,7 @@ export class MdServiceBase extends ControlServiceBase { ...@@ -22,7 +22,7 @@ export class MdServiceBase extends ControlServiceBase {
*/ */
public async search(action: string, context: any = {}, data: any = {}, isLoading?: boolean): Promise<HttpResponse> { public async search(action: string, context: any = {}, data: any = {}, isLoading?: boolean): Promise<HttpResponse> {
await this.onBeforeAction(action, context, data, isLoading); await this.onBeforeAction(action, context, data, isLoading);
data = this.handleRequestData(action, context, data); data = this.handleRequestData(action, context, data, true);
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, isLoading); response = await this.service[action](context, data, isLoading);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册