Skip to content

runtime-core.esm-bundler.js:38 [Vue warn]: Extraneous non-props attributes (class) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. #8

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

Open
any86 opened this issue Apr 2, 2022 · 0 comments

Comments

@any86
Copy link
Owner

any86 commented Apr 2, 2022

image
在用ant的骨架屏组件时候出现这个错误, 可能他是一个函数组件或者多个根组件, 总之就是不能在他的组件标签上添加非他props定义的字段, 比如我这里的class.

  <a-skeleton active :loading="isLoading"  class="p-2">
// ---
  </a-skeleton>
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

1 participant