import {Component, OnInit} from '@angular/core'; import {Router, ActivatedRoute} from '@angular/router'; import UtilService from "@common/services/util"; import StorageService from "@common/services/storage"; @Component({ selector: 'editInfo', templateUrl: './template.html', styleUrls: ['./style.less'] }) export default class EditInfo implements OnInit { private data: any = {}; private otherData: any = {}; constructor(private router: Router, private utilService: UtilService, private storageService: StorageService, private route: ActivatedRoute) { } ngOnInit(): void { } submit() { this.otherData.loading = true; const data: any = { id: this.data.id, phone: this.data.phone, email: this.data.email, realName: this.data.realName }; } }