2
안녕하세요 저는 이오니아 2 베타 11을 사용하고 있습니다. 로그인 한 후 로그인 페이지에 있습니다. 로그인 한 후 루트 페이지로 페이지를 설정 중입니다. 쇼 및 메뉴 아이콘도 표시되지만 페이지의 단추 및 메뉴 아이콘을 클릭하면 페이지가 응답하지 않으며 메뉴가 작동하지 않습니다. 내가 이러한 솔루션을 시도했지만이 중 어느 것도사이드 메뉴와 루트 페이지를 다시 설정 한 후 페이지가 응답하지 않습니다. 이오니아 2 베타 11
this.navCtrl.setRoot(AppointmentsPage);
및
this.app.getRootNav().setRoot(AppointmentsPage)
를 작동하지 여기 내 코드입니다. 사람이 문제에 직면하는 경우
onLogin(form) {
this.submitted = true;
if (form.valid) {
this.networkservice.showLoading();
var data = this.userData.login(this.login.email,this.login.password);
console.log(data);
data.subscribe(res => {
if(res.length == 0 ) {
this.login.isVaild = false;
this.networkservice.hideLoading();
}else{
this.userData.setDoctor(res[0]);
this.hideLoading();
this.navCtrl.setRoot(AppointmentsPage);
}
});
}else{
}
}
이 친절하게이 문제