fix: Fix vector_setting not found error (#26380)

This commit is contained in:
Wu Tianwei
2025-09-29 16:12:26 +08:00
committed by GitHub
parent d77c2e4d17
commit c43c72c1a3
9 changed files with 116 additions and 18 deletions

View File

@@ -86,7 +86,10 @@ const OptionCard = memo(({
readonly && 'cursor-not-allowed',
wrapperClassName && (typeof wrapperClassName === 'function' ? wrapperClassName(isActive) : wrapperClassName),
)}
onClick={() => !readonly && enableSelect && id && onClick?.(id)}
onClick={(e) => {
e.stopPropagation()
!readonly && enableSelect && id && onClick?.(id)
}}
>
<div className={cn(
'relative flex rounded-t-xl p-2',