使用vue element table 自定义列模版

很实用的功能。 官网上介绍的也很清楚, 当时做的时候没注意看。。。。纠结了很久,以后一定要仔细看文档哦。 

要完成这样的上写分隔开的td, 

<template scope="scope">
  <p>{{scope.row.ybPingji}}</p>
  <p>{{scope.row.ybZhuanxiRi}}[{{scope.row.ybYeshu}}页]</p>
</template>

  就这么简单,又被坑了下。。    新手刚接触vue 和element, 。。希望多多交流

原文地址:https://www.cnblogs.com/xuhongli/p/7119180.html