fix. [SWV-865] 영상재생 버튼 개선

Made-with: Cursor
This commit is contained in:
clkim
2026-02-27 15:14:16 +09:00
parent a21c4127f6
commit 9208aae87f
13 changed files with 81 additions and 32 deletions

View File

@@ -3,7 +3,7 @@ interface props {
type?: 'button' | 'link'
to?: string
target?: '_self' | '_blank'
bgColor?: string
backgroundColor?: string
srOnly?: string
}
@@ -11,7 +11,7 @@ const props = withDefaults(defineProps<props>(), {
type: 'button',
to: '',
target: '_self',
bgColor: '',
backgroundColor: '',
srOnly: '',
})
@@ -34,8 +34,8 @@ const componentProps = computed(() => {
const buttonStyle = computed(() => {
const style: Record<string, string> = {}
if (props.bgColor) {
style.backgroundColor = props.bgColor
if (props.backgroundColor) {
style.backgroundColor = props.backgroundColor
}
return style
})