Skip to content

Commit 5476267

Browse files
committed
fix: 修复函数名错误
1 parent 377eb1b commit 5476267

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/app/edit/edit.component.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export class EditComponent implements OnInit {
5656

5757
if(this.isName && this.isPhoneNum && this.isAddr && this.isEmail && this.isBir){
5858
if(this.isAdd) this.addContact();
59-
else this.editeContact();
59+
else this.editContact();
6060
}
6161
}
6262
getContacts() {
@@ -95,7 +95,7 @@ export class EditComponent implements OnInit {
9595
this._router.navigate(['']);
9696
}
9797

98-
editeContact() {
98+
editContact() {
9999
let edit_contact = {
100100
"id": this.editId,
101101
"name": this.contact.name,

0 commit comments

Comments
 (0)