0
点赞
收藏
分享

微信扫一扫

作用域槽的“scope”属性已被弃用

有态度的萌狮子 2022-02-11 阅读 39

(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 new “slot-scope” attribute can also be used on plain elements in addition to to denote scoped slots. 作用域槽的“scope”属性已被弃用,自2.5起被“slot-scope”取代。除了template之外,新的“slot-scope”属性也可以在普通元素上使用。表示有范围的槽。

举报

相关推荐

0 条评论