refactor: 为 SelectItem 组件添加 cursor-pointer 类以改善用户体验

This commit is contained in:
2026-07-09 23:36:52 +08:00
parent 6774504d39
commit e3851ed75d
@@ -84,7 +84,11 @@ export default function GeneratorConfig({ generator, params, onChange }: Generat
</SelectTrigger> </SelectTrigger>
<SelectContent> <SelectContent>
{param.options?.map((option) => ( {param.options?.map((option) => (
<SelectItem key={String(option.value)} value={String(option.value)}> <SelectItem
key={String(option.value)}
value={String(option.value)}
className="cursor-pointer"
>
{option.label} {option.label}
</SelectItem> </SelectItem>
))} ))}