<template slot-scope="scope">
{{ scope.row.time | timer }}
</template>
外边用插槽套上,里面scope里面获取到当前行数据 | 就是管道符 后面跟方法名字
最后在 fillers里面写上方法,并return出去
<template slot-scope="scope">
{{ scope.row.time | timer }}
</template>
外边用插槽套上,里面scope里面获取到当前行数据 | 就是管道符 后面跟方法名字
最后在 fillers里面写上方法,并return出去