Sign in
简柏林
/
thingskit-view
·
Commits
GitLab
Go to dashboard
Project
Activity
Files
Commits
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Network
Download as
Email Patches
Plain Diff
Browse Files
Commit
696869d815d917ff894ba045edea8bc8da218081
Authored by
fengtao
2024-06-13 09:52:01 +0800
1 parent
c8c3216f
fix(src/packages): 修复翻牌组件,递归调用导致浏览器报内存溢出
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/packages/components/Decorates/Mores/FlipperNumber/index.vue
src/packages/components/Decorates/Mores/FlipperNumber/index.vue
View file @
696869d
...
...
@@ -47,7 +47,7 @@ function query(list: CreateComponentType[]) {
47
47
return item
48
48
}
49
49
if (item.groupList && item.groupList?.length) {
50
-
const flag = query(
list)
50
+
const flag = query(
item.groupList) // 不能使用list递归,页面报内存溢出
51
51
if (flag) {
52
52
return item
53
53
}
...
...