vue3 组件naiveui报错: Extraneous non-props attributes (class) were passed to component but could not be
项目场景:
问题描述
报错:Extraneous non-props attributes (class) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.
原因分析:
解决: <div> ...(组件)</div>
无关的非 props 属性(类)被传递给组件,但无法自动继承,因为组件渲染片段或文本根节点。
解决方案:
由于使用了navieui 最外层直接是组件作为根节点 在最外层 加 div标签即可
vue3 组件naiveui报错: Extraneous non-props attributes (class) were passed to component but could not be相关推荐
- Vue3报错:Extraneous non-props attributes (ref_key) were passed to component but could not be automatic
Vue3报错:Extraneous non-props attributes (ref_key) were passed to component but could not be automatic ...
- Vue3导入Vue-router报错:Uncaught SyntaxError: The requested module does not provide
Vue3导入Vue-router报错:Uncaught SyntaxError: The requested module does not provide ybc4652 正在上传-重新上传取消 2 ...
- vue引入组件路径报错“Already included file name ”
vue进入组件时组件路径报错,报错信息Already included file name 原因:更名时只改变了大小写 解决方案: 引入时路径不添加.vue后缀 修改为其他名字(仅改变字母大小写无效) ...
- 金蝶K3客户端无法创建K/3中间层组件(组件KdSvrMgr报错)
金蝶K3客户端无法创建K/3中间层组件(组件KdSvrMgr报错) 原文链接:https://blog.csdn.net/hzfw2008/article/details/87837183 版权声明: ...
- 启动tomcat报错Caused by: org.apache.catalina.LifecycleException: No UserDatabase component
启动tomcat报错 Caused by: org.apache.catalina.LifecycleException: No UserDatabase component 替换conf/tomca ...
- [vue]Extraneous non-emits event listeners (x) were passed to component but could not be automatica
vue报错说: [Vue warn]: Extraneous non-emits event listeners (addToCart) were passed to component but co ...
- ES组件elasticsearch-head报错 npm ERR! Please include the following file with any support request
环境Ubuntu 1.报错信息: npm ERR! Please include the following file with any support request: npm ERR! /usr/ ...
- iview使用Steps组件路由报错问题
解决 iview使用Steps组件时,vue-router 报错:Navigation cancelled from "/..." to "/..." with ...
- vue3项目名称报错
刚开始配置路由报错,项目名称报错,与vue2相比vue3增添了命名规范,需要用到驼峰形,
- element组件不报错但不起效——table菜单preview-src-list图片预览
1.直接npm安装elementUI会导致版本太高不能正常使用table菜单的一些内容 2.查阅资料说安装低版本(2.9.2)可正常使用table菜单,亲测有效 3.但在2.9.2版本下不支持图片放大 ...
最新文章
- 网络编程 -- RPC实现原理 -- RPC -- 迭代版本V3 -- 远程方法调用 整合 Spring
- ps抠头发插件_PS顶级抠图插件Topaz Mask AI 1.0.2!支持2020Win/Mac,转发领取
- 在SAP CAL(Cloud Application Library)上搭建ABAP HANA系统
- ios退款 怎么定位到是哪个用户_哪个浏览器兼容性最好用?看看用户都是怎么评价的吧...
- WPF-TreeView遍历硬盘所有目录
- 用nunit时,老是搞忘英文,在这里记录一下,方便到处查阅
- C++中读写文件demo
- 滤波器基础06——滤波器设计软件
- 将EBS设为首页worklist删除误报
- 斗鱼直播云原生实践之注册中心篇
- 大学计算机ps教程 pdf,Photoshop中文教程.pdf
- linux服务器搭建开源蝉道10步走
- 大数据经典案例,你知道几个
- 【MySQL学习笔记】电子杂志订阅表的操作
- 听王自如聊蜕变历程:云计算时代如何输出价值
- ios实用wifi分析仪——AirPort
- 金九银十!“68道 Redis+168道 MySQL”精品面试题(带解析),你背废了吗?
- 美国计算机科学排,美国大学计算机科学computer science专业排名
- C++ 控制台 升级打怪小游戏
- IOS常用第三方库《转》