From 0ff04227b2af3dafb580e8aac43df1f1eea58dcb Mon Sep 17 00:00:00 2001 From: wuyulong11 Date: Thu, 8 Jun 2023 15:54:46 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E8=AF=B4=E6=98=8E?= =?UTF-8?q?=E3=80=91=20Memory=20View=E7=95=8C=E9=9D=A2=20=E3=80=90?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=BA=E3=80=91=20wuyulong=2030031080?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tb_plugins/profiling/tb_plugin/fe/src/components/MemoryView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tb_plugins/profiling/tb_plugin/fe/src/components/MemoryView.tsx b/tb_plugins/profiling/tb_plugin/fe/src/components/MemoryView.tsx index 8005b9d8c8e..e3c7599f981 100644 --- a/tb_plugins/profiling/tb_plugin/fe/src/components/MemoryView.tsx +++ b/tb_plugins/profiling/tb_plugin/fe/src/components/MemoryView.tsx @@ -399,7 +399,7 @@ export const MemoryView: React.FC = React.memo((props) => { graph={lineChartData} deviceTarget={deviceTarget} tag={tag} - onSelectionChanged={onSelectedRangeChanged} + onSelectionChanged={tag !== 'Component' ? onSelectedRangeChanged : undefined} explorerOptions={{ actions: ['dragToZoom', 'rightClickToReset'], axis: 'horizontal', -- Gitee