diff --git a/app/components/ui/FilterPanel.tsx b/app/components/ui/FilterPanel.tsx index f190bcc..6ef0181 100644 --- a/app/components/ui/FilterPanel.tsx +++ b/app/components/ui/FilterPanel.tsx @@ -13,12 +13,14 @@ interface FilterSelectProps { options: FilterOption[]; onChange: (e: React.ChangeEvent) => void; className?: string; + disabled?: boolean; + placeholder?: string; } /** * 筛选下拉选择框组件 */ -const FilterSelect = ({ label, name, value, options, onChange, className = '' }: FilterSelectProps) => ( +const FilterSelect = ({ label, name, value, options, onChange, className = '', disabled = false, placeholder = '全部' }: FilterSelectProps) => (