Vue报错 -- the “scope“ attribute for scoped slots have been deprecated and replaced by “slot-scope“
vue项目中出现如下报错Vue报错 --the “scope” attribute for scoped slots have been deprecated and replaced by “slot-scope”原因 vue自2.5版本以来,作用域槽的“scope”属性已被弃用,并更改为“slot-scope”。解决方案<!-- 将这个 --><template scope="scope"> </template><!--