报错如下:
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”所取代。
解决:

<template scope="scope">         
</template>

改为

<template slot-scope="scope">         
</template>
Logo

前往低代码交流专区

更多推荐