点击城市主行同时选中并展开/收起温度档位子列表
This commit is contained in:
@@ -357,7 +357,7 @@ function CityGroupedTable({
|
|||||||
"cursor-pointer border-b border-slate-100 hover:bg-slate-50/80",
|
"cursor-pointer border-b border-slate-100 hover:bg-slate-50/80",
|
||||||
selectedId === best.id && "bg-blue-50/50"
|
selectedId === best.id && "bg-blue-50/50"
|
||||||
)}
|
)}
|
||||||
onClick={() => onSelect(best)}
|
onClick={() => { onSelect(best); if (hasMultiple) toggle(city); }}
|
||||||
>
|
>
|
||||||
<td className="px-2 py-1.5">
|
<td className="px-2 py-1.5">
|
||||||
<button
|
<button
|
||||||
|
|||||||
Reference in New Issue
Block a user