fix. [SWV-866] 액션버튼 기능 개선

This commit is contained in:
clkim
2026-03-10 15:41:20 +09:00
parent e594231686
commit 532b9b6855
4 changed files with 19 additions and 8 deletions

View File

@@ -156,8 +156,8 @@ const handleButtonClick = (button: PageDataResourceGroup) => {
const btnDetail = button.btn_info?.detail
const btnType = btnDetail?.btn_type
const handler = buttonClickHandlers[btnType]
handler?.(btnDetail)
}
</script>
@@ -201,8 +201,9 @@ const handleButtonClick = (button: PageDataResourceGroup) => {
<!-- 버튼 유형: 이미지 버튼 + 타입: 기타 -->
<AtomsButtonImage
v-else-if="!isLauncherButton(button)"
:type="getButtonType(button.btn_info)"
:href="button.btn_info?.detail?.action?.url"
:background-image="formatPathHost(button.btn_info?.res_path)"
:background-image="formatPathHost(button.btn_info?.res_path?.path)"
:alt="button.btn_info?.txt_btn_name"
:disabled="isDisabled(button)"
@click="handleButtonClick(button)"