From c82383d647e611d5374546dfe74ce9c2a4c809ba Mon Sep 17 00:00:00 2001
From: fengxiang <110431245@qq.com>
Date: Tue, 27 Mar 2018 10:31:49 +0800
Subject: [PATCH] 名称遍历算法优化
---
src/app/business/entity/grid.ts | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/src/app/business/entity/grid.ts b/src/app/business/entity/grid.ts
index 628fea5..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,3 +111,8 @@
return arr;
}
}
+export interface ResultBean<T> {
+ code?: number;
+ data?: T;
+ message?: string;
+}
--
Gitblit v1.8.0