0
点赞
收藏
分享

微信扫一扫

[vue3.x]实战问题--Extraneous non-props attributes

小铺有酒一两不够 2022-03-11 阅读 147

Vue3.x 开发问题

开发环境

	"vue-i18n": "^9.1.6",
    "vue-router": "^4.0.0-0",
    "vuex": "^4.0.0-0"

问题描述

Extraneous non-props attributes (class) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.

问题解析

导致该问题的主要原因是传递了没有解析的属性,可以检查一下你用的第三方的组件,或者自己编写的组件,是否 存在没有解析的属性,例如:class等属性

举报

相关推荐

0 条评论