Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
evm-store
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wanli
evm-store
Commits
8d6a85a3
Commit
8d6a85a3
authored
Aug 03, 2021
by
wanli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🌈
style(): 忽略config.py
parent
32df1548
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
frontend/src/views/system/monitor.vue
frontend/src/views/system/monitor.vue
+9
-8
No files found.
frontend/src/views/system/monitor.vue
View file @
8d6a85a3
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment