From ba15aacf079d1a3fd13e4594f5a94cf25dacb036 Mon Sep 17 00:00:00 2001
From: xufenglei <xufenglei>
Date: Mon, 26 Mar 2018 14:25:26 +0800
Subject: [PATCH] 报表 优化
---
src/app/business/entity/grid.ts | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/app/business/entity/grid.ts b/src/app/business/entity/grid.ts
index f4f5501..5992378 100644
--- a/src/app/business/entity/grid.ts
+++ b/src/app/business/entity/grid.ts
@@ -83,7 +83,7 @@
);
this.selectedIndexs = this.selectedIndexs == null ? [] : this.selectedIndexs;
}
- constructor(config: object) {
+ constructor(config?: object) {
if (config != null) {
const keys = Object.getOwnPropertyNames(config);
for (const index in keys) {
@@ -111,8 +111,8 @@
return arr;
}
}
-export interface ResultBean<T>{
+export interface ResultBean<T> {
code?: number;
data?: T;
message?: string;
-}
\ No newline at end of file
+}
--
Gitblit v1.8.0