fix. [SWV-866] 액션버튼 기능 개선
This commit is contained in:
@@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user