1
0
forked from bot/app

使用webp背景图压缩资源包大小

This commit is contained in:
2024-05-12 00:18:53 +08:00
parent afe501a06d
commit f9fe1922d4
54 changed files with 436 additions and 142 deletions

View File

@ -17,7 +17,7 @@ data.forEach((item) => {
item["counts"].forEach((count, index) => {
// 计算平均值index - 1的count + index的count + index + 1的count /3
if (index > 0) {
timeCount.push((item["counts"][index] - item["counts"][index - 1]))
timeCount.push((item["counts"][index] - item["counts"][index - 1]) / (60 * (item["times"][index] - item["times"][index - 1])))
}
})