SHOPTIME-5911, SHOPTIME-5908 수정

This commit is contained in:
opacity@t-win.kr
2025-09-18 15:33:31 +09:00
parent f9af36a274
commit 8ba566310a
2 changed files with 23 additions and 2 deletions

View File

@@ -162,7 +162,8 @@ export default function MobileSendPopUp({
if (rawPhoneNumber.length === getMaxNum(deviceCountryCode)) {
Spotlight.focus("agreeAndSend");
}
if (rawPhoneNumber.length > getMaxNum(deviceCountryCode)) {
// 테스트용: 12자리까지 허용
if (rawPhoneNumber.length > 12) {
return;
}
const phoneUtil = PhoneNumberUtil.getInstance();
@@ -313,7 +314,12 @@ export default function MobileSendPopUp({
const handleAgreeSendClick = useCallback(() => {
let naturalNumber = mobileNumber.replace(/\D/g, "");
if (!mobileNumber || naturalNumber.length < getMaxNum(deviceCountryCode)) {
// 테스트용: 길이 체크를 더 유연하게 (10자리 또는 11자리 허용)
if (
!mobileNumber ||
naturalNumber.length < 10 ||
naturalNumber.length > 12
) {
setSmsRetCode(907);
return;
}

View File

@@ -215,6 +215,21 @@ export default function UnableOption({
</div>
);
} else if (TYPE_CASE.case2) {
if (
selectedPrdtId === "27LX6TYGA" &&
offerInfo &&
offerInfo?.length > 0
) {
return (
<div className={css.wrapper}>
<span
dangerouslySetInnerHTML={{
__html: offerInfo && offerInfo,
}}
/>
</div>
);
}
return (
<div className={css.wrapper}>
<div className={css.topLayer}>