From 1193f95d1eb81b95c27311c51282eb8b72cec106 Mon Sep 17 00:00:00 2001
From: 沈斌 <bluelazysb@hotmail.com>
Date: Tue, 19 Dec 2017 10:03:38 +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