fix(web): model status bugfix

This commit is contained in:
zhaoying
2026-03-06 16:38:11 +08:00
parent 827ab27bef
commit 2b0dedc81c

View File

@@ -144,7 +144,7 @@ const ModelListDetail = forwardRef<ModelListDetailRef, ModelListDetailProps>(({
{item.name[0]} {item.name[0]}
</div> </div>
} }
extra={<Switch defaultChecked={item.is_active} disabled={loading} onChange={() => handleChange(item)} />} extra={<Switch checked={item.is_active} disabled={loading} onChange={() => handleChange(item)} />}
bodyClassName="rb:relative rb:pb-[64px]! rb:h-[calc(100%-64px)]!" bodyClassName="rb:relative rb:pb-[64px]! rb:h-[calc(100%-64px)]!"
> >
<Tooltip title={item.description}> <Tooltip title={item.description}>