Vue报错(the “scope“ attribute for scoped slots have been deprecated and replaced by “slot-scope“ )
报错如下:
the “scope” attribute for scoped slots have been deprecated and replaced by “slot-scope” since 2.5.
The new “slot-scope” attribute can also be used on plain elements in addition to to denote scoped slots.
自2.5以来,作用域槽的“scope”属性已被弃用,并被“slot-scope”所取代。
原创
2020-09-17 11:32:56 ·
583 阅读 ·
0 评论