vue中,在表格里,取每行的id的方法
1、在template上写上 slot-scope="scope"
2、然后在template里边的标签上,scope.row.id
声明:该文观点仅代表作者本人,牛骨文系教育信息发布平台,牛骨文仅提供信息存储空间服务。
- 上一篇: 关于取List中的前几条数据
- 下一篇: PHP计算脚本执行时间类
1、在template上写上 slot-scope="scope"
2、然后在template里边的标签上,scope.row.id