(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 元素上,也可以用在其它元素

  

相关文章:

  • 2022-12-23
  • 2021-08-28
  • 2022-12-23
  • 2021-12-10
  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
  • 2022-12-23
猜你喜欢
  • 2021-04-19
  • 2022-12-23
  • 2021-12-06
  • 2021-09-24
  • 2022-12-23
  • 2022-12-23
  • 2021-09-29
相关资源
相似解决方案