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

Refactor template reuse & fix getSubtreeId #186

Merged
merged 2 commits into from
Nov 26, 2022
Merged

Conversation

malash
Copy link
Collaborator

@malash malash commented Nov 26, 2022

  1. Refactored item.wxml to reuse existing children0.wxml.

image

  1. Fixed an bug in getSubtreeId that cause this function always return undefined. The root cause is Refactor container code by introducing a new virtual root element #77 replace root container with new GOJI_VIRTUAL_ROOT element but I forgot to update the getSubtreeId logics.

@malash malash merged commit 7dc5788 into main Nov 26, 2022
@malash malash deleted the refactor-template-reuse branch November 26, 2022 16:53
@malash malash mentioned this pull request Dec 6, 2022
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.

None yet

1 participant