Commit 8d6a85a3 authored by wanli's avatar wanli

🌈 style(): 忽略config.py

parent 32df1548
...@@ -879,8 +879,8 @@ export default { ...@@ -879,8 +879,8 @@ export default {
if (item.png_detail && item.png_detail.length) { if (item.png_detail && item.png_detail.length) {
item.png_detail = item.png_detail.map((png) => { item.png_detail = item.png_detail.map((png) => {
png.ratio = Math.floor(png.ratio * 100) / 100; png.ratio = Math.floor(png.ratio * 100) / 100;
png.filesize = Math.floor(png.filesize / 1024); // png.filesize = Math.floor(png.filesize / 1024);
png.uncompressed_size = Math.floor(png.uncompressed_size / 1024); // png.uncompressed_size = Math.floor(png.uncompressed_size / 1024);
return png; return png;
}); });
} }
...@@ -932,13 +932,12 @@ export default { ...@@ -932,13 +932,12 @@ export default {
target.length = item.length; target.length = item.length;
target.png_total_count = item.png_total_count; target.png_total_count = item.png_total_count;
target.highlight = false; target.highlight = false;
if ( if (item.png_uncompressed_size) {
item.png_uncompressed_size &&
item.png_uncompressed_size !== target.png_uncompressed_size
) {
target.highlight = true; target.highlight = true;
target.png_uncompressed_size = item.png_uncompressed_size; if (item.png_uncompressed_size !== target.png_uncompressed_size) {
if (this.pngShowMode) this.pngList = item.png_detail || []; target.png_uncompressed_size = item.png_uncompressed_size;
if (this.pngShowMode) this.pngList = item.png_detail || [];
}
} }
if ( if (
item.png_file_size && item.png_file_size &&
...@@ -950,6 +949,8 @@ export default { ...@@ -950,6 +949,8 @@ export default {
} }
}); });
if (m) { if (m) {
if (m.evm) this.evm = m.evm; if (m.evm) this.evm = m.evm;
if (m.lvgl) this.lvgl = m.lvgl; 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