|
html代码
可以通过 Scoped slot 可以获取到 row, column, $index 和 store(table 内部的状态管理)的数据。 图片:code.jpg ![]() 过滤器: filters:{
formatStatus(val){
return val == 0 ? "无效" :“有效”
}
}注意: slot-scope 属性的使用,以及通过 scope.row来获取数据。 参数:https://blog.csdn.net/qq_39524670/article/details/82427683 |
|
最新喜欢:
|
