原文:Element UI 中scope用法

一个固定用法: lt template slot scope scope gt 我们主要说一下这个scope是个什么东西,scope就相当于是tableData的一行,与el table column唯一对应,具体试验代码如下, js方法 console.log scope 通过在控制台观察,发现每一行输出的scope都是当前行的数据,包含 index:当前行的索引,column,row,stor ...

2020-06-23 23:06 0 1943 推荐指数:

查看详情