diff --git a/src/app/admin/user/user-list/user-list.component.ts b/src/app/admin/user/user-list/user-list.component.ts index 8008eb1..6282bfa 100644 --- a/src/app/admin/user/user-list/user-list.component.ts +++ b/src/app/admin/user/user-list/user-list.component.ts @@ -42,6 +42,7 @@ export class UserListComponent implements OnInit { if (whereObject['regTime'] != null && whereObject['regTime'].length !== 0) { whereObject['regTimeStart'] = whereObject['regTime'][0]; whereObject['regTimeEnd'] = whereObject['regTime'][1]; + whereObject['regTime'] = null; } this.loading = false; if (reset) { @@ -49,6 +50,7 @@ export class UserListComponent implements OnInit { } whereObject['pageNum'] = this.pageNum; whereObject['pageSize'] = this.pageSize; + console.log(whereObject); this.user.getListUser( whereObject, data => { console.log(data); if (data['return_code'] === '000000') {