Skip to content

Commit f640471

Browse files
committed
fix: 移动端隧道详情页点不进的问题
1 parent 095505b commit f640471

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

web/src/pages/tunnels/details/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2344,7 +2344,7 @@ export default function TunnelDetailPage() {
23442344
content={hasValue ? tunnelInfo.dial : (configValue ? configValue : "-")}
23452345
placement="top"
23462346
>
2347-
<span className="font-mono text-sm ">
2347+
<span className="font-mono text-sm truncate block">
23482348
{hasValue ? tunnelInfo.dial : (configValue ? configValue : "-")}
23492349
{!hasValue && configValue && (
23502350
<span className="text-default-400 text-xs ml-1">

web/src/pages/tunnels/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -976,7 +976,7 @@ export default function TunnelsPage() {
976976
color="primary"
977977
size="sm"
978978
variant="light"
979-
onClick={() => navigate(`/tunnels/details?id=${tunnel.id}`)}
979+
onPress={() => navigate(`/tunnels/details?id=${tunnel.instanceId}`)}
980980
>
981981
<FontAwesomeIcon className="text-xs" icon={faEye} />
982982
</Button>
@@ -1697,7 +1697,7 @@ export default function TunnelsPage() {
16971697
className="text-foreground"
16981698
/>
16991699
) : (
1700-
<FontAwesomeIcon
1700+
<FontAwesomeIcon
17011701
icon={faSort}
17021702
className="text-foreground"
17031703
/>

0 commit comments

Comments
 (0)