Update App.jsx via upload script - 2026-08-13 14:06:06
This commit is contained in:
parent
cc0d96800a
commit
5489ea44b8
5
App.jsx
5
App.jsx
|
|
@ -4425,6 +4425,11 @@ function JmsLineCard({ line, idx, ip, dragIdx, onDragStart, onDropCard, onDragEn
|
||||||
<div className="jms-terminal-row">
|
<div className="jms-terminal-row">
|
||||||
<span className="jms-terminal-key">解析IP</span>
|
<span className="jms-terminal-key">解析IP</span>
|
||||||
<span className={`jms-terminal-val jms-ip ${!ip || ip === 'resolving' ? 'jms-ip-pending' : ''}`}>{ipDisplay}</span>
|
<span className={`jms-terminal-val jms-ip ${!ip || ip === 'resolving' ? 'jms-ip-pending' : ''}`}>{ipDisplay}</span>
|
||||||
|
{ip && ip !== 'resolving' && !ip.startsWith('解析失败') && (
|
||||||
|
<button className="jms-refresh-btn" onClick={() => jmsCopyText(ip, '解析IP', onNotify)} title="复制IP">
|
||||||
|
<Copy size={12} />
|
||||||
|
</button>
|
||||||
|
)}
|
||||||
<button className="jms-refresh-btn" onClick={() => onRefreshIp(line.id, line.addr)} title="重新解析">
|
<button className="jms-refresh-btn" onClick={() => onRefreshIp(line.id, line.addr)} title="重新解析">
|
||||||
<RefreshCw size={13} className={ip === 'resolving' ? 'jms-spin' : ''} />
|
<RefreshCw size={13} className={ip === 'resolving' ? 'jms-spin' : ''} />
|
||||||
</button>
|
</button>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue