thymeleaf convert complate

dev_tymeleaf
jangwonseokicom 1 year ago
parent 8a6d69bbf6
commit 4c89e1d524

@ -42,7 +42,7 @@
<script th:src="@{/lib/new/assets/js/lib/billboard.pkgd.min.js}"></script> <script th:src="@{/lib/new/assets/js/lib/billboard.pkgd.min.js}"></script>
<script th:src="@{/js/utils.js}"></script> <script th:src="@{/js/utils.js}"></script>
<script type="text/javascript"> <script type="text/javascript">
function setToken(){ function getToken(){
document.cookie = "accessToken="; document.cookie = "accessToken=";
} }
</script> </script>

@ -141,6 +141,8 @@
.complete(function (data) { .complete(function (data) {
if (data.status == 200) { if (data.status == 200) {
//set cookie
document.signinInfoForm.action = '/adm/main/actionSecurityLogin.do'; document.signinInfoForm.action = '/adm/main/actionSecurityLogin.do';
document.signinInfoForm.submit(); document.signinInfoForm.submit();
} else if (data.status == 400) { } else if (data.status == 400) {

Loading…
Cancel
Save