Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: getting slot children incorrectly #1545

Merged
merged 1 commit into from
Feb 9, 2023
Merged

Conversation

LeoYuan
Copy link
Contributor

@LeoYuan LeoYuan commented Feb 9, 2023

当判断 data.value 是一个 { componentName: 'Slot' } 时,应该将 data.value.children 传给下方的 children~

当前传递的是整个 data.value,将导致 Slot 多层嵌套

@github-actions
Copy link

github-actions bot commented Feb 9, 2023

Coverage report for packages/react-simulator-renderer

St.
Category Percentage Covered / Total
🔴 Statements 33.93% 114/336
🔴 Branches 14.81% 24/162
🔴 Functions 26.44% 23/87
🔴 Lines 34.55% 114/330

Test suite run success

2 tests passing in 1 suite.

Report generated by 🧪jest coverage report action from 7ca6d9a

@github-actions
Copy link

github-actions bot commented Feb 9, 2023

Coverage report for packages/renderer-core

St.
Category Percentage Covered / Total
🟡 Statements 72.38% 891/1231
🟡 Branches 61.84% 559/904
🟡 Functions 69.29% 194/280
🟡 Lines 72.37% 875/1209

Test suite run success

91 tests passing in 8 suites.

Report generated by 🧪jest coverage report action from 7ca6d9a

@github-actions
Copy link

github-actions bot commented Feb 9, 2023

Coverage report for packages/designer

St.
Category Percentage Covered / Total
🟢 Statements 96.64% 2820/2918
🟢 Branches 88.64% 1591/1795
🟢 Functions 96.41% 859/891
🟢 Lines 96.72% 2746/2839

Test suite run success

368 tests passing in 42 suites.

Report generated by 🧪jest coverage report action from 7ca6d9a

@liujuping liujuping merged commit b629ca5 into develop Feb 9, 2023
@liujuping liujuping deleted the fix/import-slot branch February 9, 2023 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants