Commit 8d6a85a3 authored by wanli's avatar wanli

🌈 style(): 忽略config.py

parent 32df1548
......@@ -879,8 +879,8 @@ export default {
if (item.png_detail && item.png_detail.length) {
item.png_detail = item.png_detail.map((png) => {
png.ratio = Math.floor(png.ratio * 100) / 100;
png.filesize = Math.floor(png.filesize / 1024);
png.uncompressed_size = Math.floor(png.uncompressed_size / 1024);
// png.filesize = Math.floor(png.filesize / 1024);
// png.uncompressed_size = Math.floor(png.uncompressed_size / 1024);
return png;
});
}
......@@ -932,13 +932,12 @@ export default {
target.length = item.length;
target.png_total_count = item.png_total_count;
target.highlight = false;
if (
item.png_uncompressed_size &&
item.png_uncompressed_size !== target.png_uncompressed_size
) {
if (item.png_uncompressed_size) {
target.highlight = true;
target.png_uncompressed_size = item.png_uncompressed_size;
if (this.pngShowMode) this.pngList = item.png_detail || [];
if (item.png_uncompressed_size !== target.png_uncompressed_size) {
target.png_uncompressed_size = item.png_uncompressed_size;
if (this.pngShowMode) this.pngList = item.png_detail || [];
}
}
if (
item.png_file_size &&
......@@ -950,6 +949,8 @@ export default {
}
});
if (m) {
if (m.evm) this.evm = m.evm;
if (m.lvgl) this.lvgl = m.lvgl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment