Element-ui 1.4.13 does not have the method of table merging, how to do row merging (version upgrade cannot be carried out for the time being)

using elementui to do table tables, now there is a need for merging and parallelism, but the version of elementui is too low to provide an automatic merge method. How can I achieve this function at this time? (due to some special circumstances, version upgrade cannot be done for the time being)


vue+element implements table merging across rows or columns

maybe some projects use the element1.x version. If the risk of a sudden upgrade is too high, that's what I do, so I still use the native colspan and rowspan of table
.

so, use native table colspan and rowspan


I don't know what your data looks like. I think you can pre-process the two rows of data you want to merge into one


.

what does it matter if the version of elementui is low? elementui already supports separate reference components. Will it be over soon to rename the component code of table ?

give me a chestnut

import { Table } from 'element-ui@xxxx'
Vue.component('myTable', Table )

Hello, have you solved it? I also encountered this problem and asked how to solve


, the same problem

.
Menu