diff --git a/frontend/src/components/DataGrid.tsx b/frontend/src/components/DataGrid.tsx index f527778..0ca13d7 100644 --- a/frontend/src/components/DataGrid.tsx +++ b/frontend/src/components/DataGrid.tsx @@ -3384,22 +3384,17 @@ const DataGrid: React.FC = ({ updateFilter(cond.id, 'enabled', e.target.checked)} - style={{ marginTop: 6 }} + style={{ marginTop: 6, flex: '0 0 auto', whiteSpace: 'nowrap' }} > 启用 - {condIndex === 0 ? ( -
- 首条 -
- ) : ( - updateFilter(cond.id, 'logic', v)} + options={condIndex === 0 ? [{ value: '__FIRST__', label: '首条' }] : (filterLogicOptions as any)} + disabled={condIndex === 0} + />