网站首页
编程语言
数据库
系统相关
其他分享
编程问答
CellList
2024-09-06
elementplus vue3 table表格动态合并单元格
letcellList:any[]=[]//单元格数组letcount:number=0//计数constcomputeCell=(tableList:any[],name)=>{cellList=[]count=0for(leti=0;i<tableList.length;i++){if(i===0){//先设置第一项cellList.push(1)