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

web/src/view/routerHolder.vue:Fix 消除vue二级菜单组件警告 #1603

Merged
merged 1 commit into from Dec 25, 2023

Conversation

huoxiao001
Copy link
Contributor

新建二级菜单使用 web/src/view/routerHolder.vue 或参考该文件自建文件后,点击新建的菜单会有警告:Component inside renders non-element root node that cannot be animated

包裹的组件添加一层div后,有单一的根元素,并且在 中也只有一个根元素,能够避免这个警告

…on> renders non-element root node that cannot be animated
@piexlmax piexlmax merged commit b2fa756 into flipped-aurora:main Dec 25, 2023
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