내정보 > 개인정보 변경 수정

This commit is contained in:
주수현
2025-06-25 13:41:03 +09:00
parent 7deed5fc64
commit 2b7a57bdd5

View File

@@ -15,7 +15,8 @@
</hgroup>
<section class="form-group">
<form method="post" name="reqForm" id="reqForm" onsubmit="event.preventDefault(); formControl.authInfoUser(event);" th:action="@{/}">
<form method="post" name="reqForm" id="reqForm" onsubmit="formControl.authInfoUser(event); return false;">
<input type="hidden" name="_csrf" th:value="${_csrf.token}" th:if="${_csrf != null}" />
<div class="component-input" data-props-toggle-Password="true">
<div class="input-label">
<label for="password" class="label-txt">비밀번호</label>
@@ -56,11 +57,12 @@
let formControl = {
authInfoUser(event) {
event.preventDefault();
if (event && typeof event.preventDefault === 'function') {
event.preventDefault();
}
const f = document.reqForm;
const obj = $(f).serializeObject();
console.log(obj)
ajaxUtil._ajaxAsync(
ENV.httpUrl.auth,
obj,