type Props = { text: string; label?: string; }; export function HoverHelpTip({ text, label = "查看原因" }: Props) { if (!text.trim()) return null; return ( {text} ); }