mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-10-08 18:56:37 +08:00
优化显示,新增流量重置
This commit is contained in:
@@ -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) => {
|
const getQualityDisplay = (averageTime?: number, packetLoss?: number) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user