From a9006f29544d66fa41069a76411c54de6264a919 Mon Sep 17 00:00:00 2001 From: jialin Date: Tue, 18 Feb 2025 20:04:28 +0800 Subject: [PATCH] fix: do not need to open the row after batch updating --- src/pages/llmodels/components/table-list.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/llmodels/components/table-list.tsx b/src/pages/llmodels/components/table-list.tsx index a3fca404..55e71263 100644 --- a/src/pages/llmodels/components/table-list.tsx +++ b/src/pages/llmodels/components/table-list.tsx @@ -321,7 +321,6 @@ const Models: React.FC = ({ replicas: 1 } }); - updateExpandedRowKeys([row.id, ...expandedRowKeys]); } catch (error) { // ingore } @@ -543,6 +542,7 @@ const Models: React.FC = ({ if (val === 'start') { await handleStartModel(row); message.success(intl.formatMessage({ id: 'common.message.success' })); + updateExpandedRowKeys([row.id, ...expandedRowKeys]); } if (val === 'stop') {