Property or method "scope" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components
报错如下
属性或方法“范围”不是在实例上定义的,而是在呈现期间引用的。 通过初始化属性,确保此属性是反应性的,无论是在数据选项中,还是对于基于类的组件。
原因在template中未添加此行声明 slot-scope="scope"