2
0

2 Komitmen 6aeebde4ba ... 67825bc83d

Pembuat SHA1 Pesan Tanggal
  flowaaa 67825bc83d Merge branch 'master' of http://git.fmode.cn:3000/ai/app-gift 5 bulan lalu
  flowaaa 0929c49f5d c 5 bulan lalu

+ 2 - 2
app-angular/src/modules/lesson/contact-list/contact-list.component.ts

@@ -15,8 +15,8 @@ export class ContactListPage implements OnInit {
 
   charGroupIndex:any = {}
   loadContact() {
-    const Contact = Parse.Object.extend('Contact');
-    const query = new Parse.Query(Contact);
+    const HrmContact = Parse.Object.extend('HrmContact');
+    const query = new Parse.Query(HrmContact);
     query.ascending('firstChar');
     if (this.searchName) {
       query.contains('name', this.searchName);

+ 2 - 2
app-angular/src/modules/user/page-add/page-add.component.ts

@@ -21,8 +21,8 @@ export class PageAddComponent {
   ) {}
 
   async saveAdd() {
-    const Contact = Parse.Object.extend('Contact');
-    const newContact = new Contact();
+    const HrmContact = Parse.Object.extend('HrmContact');
+    const newContact = new HrmContact();
 
     newContact.set('name', this.userAdd.name);
     newContact.set('tag', this.userAdd.tag);