vue项目报错如下:(Emitted value instead of an instance of Error)
2024-09-07 10:08:10
(Emitted value instead of an instance of Error) the "scope" attribute for scoped slots have been deprecated and replaced by "slot-scope" since 2.5. The n
ot-scope" attribute can also be used on plain elements in addition to <template> to denote scoped slots.
解决方法
检查下你的列表组件里,slot 里的 <template> 上面有个 scope 属性,你改成 slot-scope <template scope="xxx">yyyyyyyy</template>
改成 <template slot-scope="xxx">yyyyyyyy</template>
scope 属性在2.5以后的版本中已经废弃, 被 slot-scope 替代
slot-scope 不光可以用在 template 元素上,也可以用在其它元素
最新文章
- BZOJ 1391: [Ceoi2008]order [最小割]
- overflow:hidden清楚浮动的影响
- Oracle 数据泵文件
- 专访Linux嵌入式开发韦东山操作系统图书作者--转
- 关于Android中RemoveView的错误理解
- Choose the best route--hdu2680
- intellij idea 生成UUID
- android 5.0 -- Ripple 效果
- MicroPython教程之TPYBoard开发板DIY小型家庭气象站
- spring-boot-starter家族成员简介
- Failed to decrypt protected XML node ";DTS:Password"; with error 0x8009000B ";Key not valid for use in specified state.";. You may not be authorized to access this information. This error occurs when t
- Py中的矩阵乘法【转载】
- it面试技巧
- 初次接触OSSEC
- [Unity3D]Unity3D游戏开发之角色控制漫谈
- 简单版AC自动机
- js 时间格式与时间戳的相互转换和计算几天后的日期是哪一天
- ActivityGroup window bad token问题深入分析
- Codeforces Round #374 (Div. 2) B. Passwords —— 基础题
- 使用js实现简单放大镜的效果
热门文章
- Spark(十六)【SparkStreaming基本使用】
- 大数据学习day25------spark08-----1. 读取数据库的形式创建DataFrame 2. Parquet格式的数据源 3. Orc格式的数据源 4.spark_sql整合hive 5.在IDEA中编写spark程序(用来操作hive) 6. SQL风格和DSL风格以及RDD的形式计算连续登陆三天的用户
- 爬虫系列:存储 CSV 文件
- C++ 害死人不偿命的(3n+1)猜想
- 转 proguard 混淆工具的用法 (适用于初学者参考)
- java中的原子操作类AtomicInteger及其实现原理
- SVN终端演练-版本回退
- Python @函数装饰器及用法(超级详细)
- 【Linux】【Services】【Package】编译安装
- Jsp/servlet分页五要素