优化显示,新增流量重置

This commit is contained in:
qaq
2025-08-04 17:17:44 +08:00
parent 614d147032
commit cb60bcc1b0
-6
View File
@@ -392,12 +392,6 @@ export default function TunnelPage() {
}
};
// 格式化时间
const formatTime = (timestamp: string | number): string => {
if (!timestamp) return '-';
const date = new Date(timestamp);
return date.toLocaleString('zh-CN');
};
// 获取连接质量
const getQualityDisplay = (averageTime?: number, packetLoss?: number) => {