|
|
|
@ -8,9 +8,10 @@ interface ImageWithPopoverProps {
|
|
|
|
|
src: string;
|
|
|
|
|
reload: any;
|
|
|
|
|
person_id: any;
|
|
|
|
|
classify: any;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const ImageWithPopover: React.FC<ImageWithPopoverProps> = ({ src, person_id,reload }) => {
|
|
|
|
|
const ImageWithPopover: React.FC<ImageWithPopoverProps> = ({ src, person_id,reload, classify }) => {
|
|
|
|
|
const intl = useIntl();
|
|
|
|
|
const [visible, setVisible] = useState(false);
|
|
|
|
|
const [open, setOpen] = useState(false);
|
|
|
|
@ -78,7 +79,7 @@ const ImageWithPopover: React.FC<ImageWithPopoverProps> = ({ src, person_id,relo
|
|
|
|
|
onClick={handleButtonClick}
|
|
|
|
|
/>
|
|
|
|
|
</Popover>
|
|
|
|
|
{/* {involved.state && (
|
|
|
|
|
{classify === 1 && (
|
|
|
|
|
<div
|
|
|
|
|
style={{
|
|
|
|
|
position: 'absolute',
|
|
|
|
@ -96,7 +97,7 @@ const ImageWithPopover: React.FC<ImageWithPopoverProps> = ({ src, person_id,relo
|
|
|
|
|
>
|
|
|
|
|
重点关注
|
|
|
|
|
</div>
|
|
|
|
|
)} */}
|
|
|
|
|
)}
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
};
|
|
|
|
|