Skip to content

Commit b01874e

Browse files
TianWuwtchris-sun-star
authored andcommitted
fix:修复下载日志,出现非预期信息弹窗 (#840)
1 parent 48b064c commit b01874e

2 files changed

Lines changed: 0 additions & 16 deletions

File tree

ui/src/pages/Cluster/Detail/Connection/index.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,6 @@ const ClusterConnection: React.FC = () => {
8080
terminalId={terminalId}
8181
onClose={() => {
8282
setTerminalId(undefined);
83-
if (terminalId) {
84-
message.info(
85-
intl.formatMessage({
86-
id: 'Dashboard.Cluster.Detail.CloseConnection',
87-
defaultMessage: '连接已关闭',
88-
}),
89-
);
90-
}
9183
}}
9284
/>
9385
) : (

ui/src/pages/Tenant/Detail/Connection/index.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,6 @@ const TenantConnection: React.FC = () => {
6666
terminalId={terminalId}
6767
onClose={() => {
6868
setTerminalId(undefined);
69-
if (terminalId) {
70-
message.info(
71-
intl.formatMessage({
72-
id: 'Dashboard.Cluster.Detail.CloseConnection',
73-
defaultMessage: '连接已关闭',
74-
}),
75-
);
76-
}
7769
}}
7870
/>
7971
) : (

0 commit comments

Comments
 (0)