增加日历
This commit is contained in:
@@ -16,7 +16,7 @@ interface RangeProps {
|
||||
};
|
||||
disabled?: boolean;
|
||||
className?: string;
|
||||
name: string;
|
||||
name?: string;
|
||||
showTitle?: boolean;
|
||||
}
|
||||
|
||||
@@ -64,7 +64,7 @@ const NtrpRange: React.FC<RangeProps> = ({
|
||||
if (Number(start) === Number(min) && Number(end) === Number(max)) {
|
||||
return "不限";
|
||||
}
|
||||
return `${start.toFixed(1)} - ${end.toFixed(1)}之间`;
|
||||
return `${start?.toFixed(1)} - ${end?.toFixed(1)}之间`;
|
||||
}, [JSON.stringify(currentValue || []), min, max]);
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user