这是Vue给出的一个警告,意思是在组件中传递了一些非props属性(例如title),但由于组件渲染的是片段或文本根节点,这些属性无法自动继承。这通常是由于在组件中使用了template标签或者某些文本节点导致的。要解决这个警告,应该将非props属性放在组件内部的template标签或其他合适的节点中,而不是直接在组件标签上传递。

Vue warn Extraneous non-props attributes title were passed to component but could not be automatically inherited because component renders fragment or text root nodes at TableModel title= tablelist

原文地址: https://www.cveoy.top/t/topic/bq10 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录