()
| 56 | |
| 57 | // 生成精确到秒的时间戳用于文件名 |
| 58 | const getTimestamp = () => { |
| 59 | const now = new Date() |
| 60 | return now.toISOString().replace(/[:.]/g, '-').slice(0, -5) // 移除毫秒和Z,替换冒号和点号 |
| 61 | } |
| 62 | |
| 63 | // 导出所有数据 |
| 64 | const handleExportAll = () => { |
no outgoing calls
no test coverage detected