From 0e1e92f2e14b07942f2d8c21b4d96468322aecfe Mon Sep 17 00:00:00 2001
From: 沈斌 <bluelazysb@hotmail.com>
Date: Tue, 19 Dec 2017 10:00:41 +0800
Subject: [PATCH] updates

---
 src/app/routes/users/installer/edit/edit.component.ts |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/app/routes/users/installer/edit/edit.component.ts b/src/app/routes/users/installer/edit/edit.component.ts
index 246fd1f..09ed0b9 100644
--- a/src/app/routes/users/installer/edit/edit.component.ts
+++ b/src/app/routes/users/installer/edit/edit.component.ts
@@ -11,7 +11,7 @@
 })
 export class UserInstallerEditComponent implements OnInit {
 
-  i: any;
+  user: any;
   gender: string[] = [ '���', '���' ];
 
   constructor(
@@ -21,8 +21,8 @@
     public http: _HttpClient) { }
 
   ngOnInit() {
-    if (this.i.id > 0) {
-      this.http.get('./assets/pois.json').subscribe(res => this.i = res.data[0]);
+    if (this.user.id > 0) {
+      this.http.get('./assets/pois.json').subscribe(res => this.user = res.data[0]);
     }
   }
 

--
Gitblit v1.8.0