Open at15 opened 8 years ago
when move the code from user.login
to user.login-form
got a problem for submit, how to communicate between components, like the login form is submitted and got 200 from server, how can it tell its parent component to change route, I guess it's not a good idea to let the form change the route
the communication part is included in the following doc https://angular.io/docs/ts/latest/cookbook/component-communication.html
(click)
), this one is simper and might be better for the login component. finished in 4a3169a012790309aa625785426dd8a2f71900a5Also the layout is a problem, the login page is quite like a dialog page, and we may need to use login dialog for sudo mode and session expire.
layout problem is finished in 4197f9d7309d21930b646705939fa7e1c33a4703