From 2c8b7ad8f9e31970cc2b7596f2b678bdf8292069 Mon Sep 17 00:00:00 2001
From: 沈斌 <bluelazysb@hotmail.com>
Date: Fri, 22 Dec 2017 17:25:33 +0800
Subject: [PATCH] updates
---
src/app/routes/systems/account/account.component.ts | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/app/routes/systems/account/account.component.ts b/src/app/routes/systems/account/account.component.ts
index 4013043..9078ab4 100644
--- a/src/app/routes/systems/account/account.component.ts
+++ b/src/app/routes/systems/account/account.component.ts
@@ -49,13 +49,15 @@
this.http.get(environment.SERVER_BASH_URL + '/account/list', {params: this.query}).subscribe((res: any) => {
this.data = res.data.data;
this.total = res.data.total;
+
+ this.dataChange(this.data);
});
}
ngOnInit() {
this.load();
}
-
+
edit(account) {
this.modalHelper.static(AccountEditComponent, {account}).subscribe(() => {
this.load(true);
--
Gitblit v1.8.0