Commit 78cd34c0ecf64204fef6a681e935a37b45ebaaaf
1 parent
98d909a7
perf: 优化重构app完成,优化主分包体积大小,主包不超过1.5M
Showing
1 changed file
with
2 additions
and
0 deletions
... | ... | @@ -91,6 +91,8 @@ |
91 | 91 | }); |
92 | 92 | const res = new Map() |
93 | 93 | this.list = this.list.filter((item) => !res.has(item.name) && res.set(item.name, 1)) |
94 | + } else { | |
95 | + this.list = this.list.filter(item => item.name !=='命令记录') | |
94 | 96 | } |
95 | 97 | this.isScrollable = this.list.length > 4; |
96 | 98 | if (res.deviceProfileId) { | ... | ... |