flowaaa hace 4 meses
padre
commit
0929c49f5d

+ 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

@@ -20,8 +20,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);