{{ text && text !== 'null' ? text.replace(/<.*?>/ig, ' ') : '' }}
@@ -172,12 +177,10 @@ export default {
// 序号
{
title: this.$t('serialNumber'),
- key: 'rowIndex',
width: 80,
+ dataIndex: 'id',
align: 'center',
- customRender: function (t, r, index) {
- return parseInt(index) + 1
- }
+ scopedSlots: { customRender: 'serialNumber' }
},
// 标准编号/条款号
{
@@ -555,4 +558,4 @@ export default {
white-space: nowrap;
text-overflow: ellipsis;
}
-
\ No newline at end of file
+