1
아래에 제공된 부트 스트랩 모달이 있습니다. 각도 조절기 registrationCtrl
안에 있는데, 재 등록을 시도하면 팝업됩니다. 모달의 바닥 글에 LOGIN
링크가 있지만 링크를 클릭하면 브라우저의 주소창에있는 URL 만 변경됩니다. 그러나 페이지는 /login
으로 이동하지 않습니다.links <a> 원하는 경로로 이동하지 않습니다.
<div class="modals">
<div id="registered" tabindex="-1" role="dialog" aria-labelledby="registeredModal" aria-hidden="true" class="modal fade">
<div class="modal_container">
<div id="modal-head"><span>Already Registered</span></div>
<div class="modal_body">
...
</div>
<div class="modal_footer">
<div id="notice"><span>*Please login to continue or cancel to register with different </span></div>
<div class="buttons button-toolbar">
<div class="login btn-vert-block">
<span><a href="/login">LOGIN</a></span>
<div class="cancel btn-vert-block"> <!--the link that is not working-->
<span>
<button type="button" data-dismiss="modal">CANCEL</button>
</span>
</div>
</div>
</div>
</div>
독립적 인 HTML로 사용할 때 모달이 완벽하게 작동합니다. 내가 여기서 무엇을 놓치고 있니?
로그인 페이지가 경로와 관련이 있고 현재 페이지가 경로 문제가 아닌 경우가 대부분입니다. 가장 좋은 방법은 Chrome 개발자 도구를 사용하여 실제로 어떤 경로를 찾고 있는지 확인하는 것입니다. – keitn
주소 표시 줄에 표시되는 URL은 내가 탐색하고자하는 URL입니다 ... 주소창 변경 사항의 URL 만 탐색 할 수 있습니다 ... – Pravin