From 4f65f8c746fced7bce54a1073e7cbfaf3b104713 Mon Sep 17 00:00:00 2001
From: xufenglei <xufenglei>
Date: Tue, 02 Jan 2018 15:51:29 +0800
Subject: [PATCH] 账户管理

---
 src/app/core/pipe/tyep-handle.pipe.ts |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/app/core/pipe/tyep-handle.pipe.ts b/src/app/core/pipe/tyep-handle.pipe.ts
index 876b401..a9a8ab3 100644
--- a/src/app/core/pipe/tyep-handle.pipe.ts
+++ b/src/app/core/pipe/tyep-handle.pipe.ts
@@ -19,15 +19,15 @@
   transform(value: any, col?: Column): any {
        const t = Types.Date;
        const type  = col.type;
-       if(type!=null&&type.name!=null){
-         value = this.transformHandle(value,type.name,type.format);
+       if (type != null && type.name != null) {
+         value = this.transformHandle(value, type.name, type.format);
        }
        return value;
   }
-  private transformHandle(value:any,type: Types,format:any):any{
-        switch(type){
+  private transformHandle(value: any, type: Types, format: any): any{
+        switch (type) {
            case Types.Date:
-           return this.dateService.date_format(value,format);
+           return this.dateService.date_format(value, format);
         }
   }
 }
\ No newline at end of file

--
Gitblit v1.8.0