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

Tag ="transition-group", vue3.2.33 Warning #149

Open
tujianglin opened this issue May 9, 2022 · 2 comments
Open

Tag ="transition-group", vue3.2.33 Warning #149

tujianglin opened this issue May 9, 2022 · 2 comments

Comments

@tujianglin
Copy link

[Vue warn]: children must be keyed.
Extraneous non-props attributes (class) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.

@lhermann
Copy link

Same issue as #138 and #140

@liu-yan-liang
Copy link

liu-yan-liang commented May 24, 2022

使用 vuenextdraggable. fix it.
https://www.npmjs.com/package/vuenextdraggable
在使用 tag="transition-group" 的时候,需要至少两层 html 标签

<template #item="{ element }"> <div class="list-group-item"> <div>{{ element.name }}</div> </div> </template>

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

No branches or pull requests

3 participants