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

v-if cause warning in v-description #1083

Closed
whitemay opened this issue Sep 3, 2021 · 0 comments · Fixed by #1084
Closed

v-if cause warning in v-description #1083

whitemay opened this issue Sep 3, 2021 · 0 comments · Fixed by #1084
Labels
untriaged need to sort

Comments

@whitemay
Copy link

whitemay commented Sep 3, 2021

TuSimple/naive-ui version (版本)

2.16.7

Vue version (Vue 版本)

3.2.8

Browser and its version (浏览器及其版本)

Microsoft Edge 93.0.961.38

System and its version (系统及其版本)

MacOS 11.4

Node version (Node 版本)

Reappearance link (重现链接)

https://codesandbox.io/s/naive-ui-warning-3yl9v?file=/src/App.vue

Reappearance steps (重现步骤)

when an item with v-if=false in v-descriptions, warning occured. it said: n-descriptions only takes n-descriptions-item as children.

Expected results (期望的结果)

no warning.

Actual results (实际的结果)

warning occured.
message: n-descriptions only takes n-descriptions-item as children.

Remarks (补充说明)

also, any html comment can trigger warning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
untriaged need to sort
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant