(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”属性也可以在普通元素上使用。表示有范围的槽。
作用域槽的“scope”属性已被弃用
最新推荐文章于 2023-10-07 16:10:55 发布