Open cat-uncles opened 4 months ago
v1.9.8重现
No response
data: [ { id: "1", applicant: "贾明", channel: "电子签署", age: "149", xueli: "大专1", sex: "男", }, { id: "6", applicant: "贾明", channel: "电子签署", age: "149", xueli: "大专1", sex: "女", }, { id: "2", applicant: "贾明", channel: "电子签署", age: "58", xueli: "大专", sex: "男", }, { id: "3", applicant: "王芳", channel: "纸质签署", age: "36", xueli: "大专", sex: "男", }, { id: "9", applicant: "王芳", channel: "电子1", age: "148", xueli: "大专", sex: "男", }, { id: "19", applicant: "王芳", channel: "电子", age: "148", xueli: "b'bbb", sex: "9", }, { id: "4", applicant: "王龙", channel: "纸质签署", age: "148", xueli: "本科", sex: "女", }, ], columns: [ { colKey: "applicant", title: "申请人", width: "100", expandColumn: "applicant" }, { colKey: "channel", title: "签署方式", expandColumn: "channel" }, { colKey: "age", title: "年龄", expandColumn: "age" }, { colKey: "xueli", title: "学历", width: "500", expandColumn: "xueli" }, { colKey: "sex", title: "性别", width: "300", expandColumn: "sex" }, ], <t-table bordered row-key="id" :data="data" :columns="columns" :row-class-name="tableRowClassName" :rowspanAndColspan="(e) => rowspanAndColspan(e, data)" @cell-click="handleCellClick" /> 合并的rowspanAndColspan: {colspan: 1, rowspan: 3} 0 {colspan: 1, rowspan: 3} 0 {colspan: 1, rowspan: 2} 0 {colspan: 1, rowspan: 2} 0 {colspan: 1, rowspan: 1} 0 {colspan: 0, rowspan: 0} 1 {colspan: 0, rowspan: 0} 1 {colspan: 0, rowspan: 0} 1 {colspan: 0, rowspan: 0} 1 {colspan: 1, rowspan: 1} 1 {colspan: 0, rowspan: 0} 2 {colspan: 0, rowspan: 0} 2 {colspan: 1, rowspan: 1} 2 {colspan: 1, rowspan: 3} 2 {colspan: 1, rowspan: 3} 2 {colspan: 1, rowspan: 3} 3 {colspan: 1, rowspan: 1} 3 {colspan: 1, rowspan: 1} 3 {colspan: 0, rowspan: 0} 3 {colspan: 0, rowspan: 0} 3 {colspan: 0, rowspan: 0} 4 {colspan: 1, rowspan: 1} 4 {colspan: 1, rowspan: 3} 4 {colspan: 0, rowspan: 0} 4 {colspan: 0, rowspan: 0} 4 {colspan: 0, rowspan: 0} 5 {colspan: 1, rowspan: 1} 5 {colspan: 0, rowspan: 0} 5 {colspan: 1, rowspan: 1} 5 {colspan: 1, rowspan: 1} 5 {colspan: 1, rowspan: 1} 6 {colspan: 1, rowspan: 1} 6 {colspan: 0, rowspan: 0} 6 {colspan: 1, rowspan: 1} 6 {colspan: 1, rowspan: 1} 6
期望的应该是有7行数据
Vue2.6
👋 @cat-uncles,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
tdesign-vue 版本
v1.9.8重现
重现链接
No response
重现步骤
data: [ { id: "1", applicant: "贾明", channel: "电子签署", age: "149", xueli: "大专1", sex: "男", }, { id: "6", applicant: "贾明", channel: "电子签署", age: "149", xueli: "大专1", sex: "女", }, { id: "2", applicant: "贾明", channel: "电子签署", age: "58", xueli: "大专", sex: "男", }, { id: "3", applicant: "王芳", channel: "纸质签署", age: "36", xueli: "大专", sex: "男", }, { id: "9", applicant: "王芳", channel: "电子1", age: "148", xueli: "大专", sex: "男", }, { id: "19", applicant: "王芳", channel: "电子", age: "148", xueli: "b'bbb", sex: "9", }, { id: "4", applicant: "王龙", channel: "纸质签署", age: "148", xueli: "本科", sex: "女", }, ], columns: [ { colKey: "applicant", title: "申请人", width: "100", expandColumn: "applicant" }, { colKey: "channel", title: "签署方式", expandColumn: "channel" }, { colKey: "age", title: "年龄", expandColumn: "age" }, { colKey: "xueli", title: "学历", width: "500", expandColumn: "xueli" }, { colKey: "sex", title: "性别", width: "300", expandColumn: "sex" }, ], <t-table bordered row-key="id" :data="data" :columns="columns" :row-class-name="tableRowClassName" :rowspanAndColspan="(e) => rowspanAndColspan(e, data)" @cell-click="handleCellClick" /> 合并的rowspanAndColspan: {colspan: 1, rowspan: 3} 0 {colspan: 1, rowspan: 3} 0 {colspan: 1, rowspan: 2} 0 {colspan: 1, rowspan: 2} 0 {colspan: 1, rowspan: 1} 0 {colspan: 0, rowspan: 0} 1 {colspan: 0, rowspan: 0} 1 {colspan: 0, rowspan: 0} 1 {colspan: 0, rowspan: 0} 1 {colspan: 1, rowspan: 1} 1 {colspan: 0, rowspan: 0} 2 {colspan: 0, rowspan: 0} 2 {colspan: 1, rowspan: 1} 2 {colspan: 1, rowspan: 3} 2 {colspan: 1, rowspan: 3} 2 {colspan: 1, rowspan: 3} 3 {colspan: 1, rowspan: 1} 3 {colspan: 1, rowspan: 1} 3 {colspan: 0, rowspan: 0} 3 {colspan: 0, rowspan: 0} 3 {colspan: 0, rowspan: 0} 4 {colspan: 1, rowspan: 1} 4 {colspan: 1, rowspan: 3} 4 {colspan: 0, rowspan: 0} 4 {colspan: 0, rowspan: 0} 4 {colspan: 0, rowspan: 0} 5 {colspan: 1, rowspan: 1} 5 {colspan: 0, rowspan: 0} 5 {colspan: 1, rowspan: 1} 5 {colspan: 1, rowspan: 1} 5 {colspan: 1, rowspan: 1} 6 {colspan: 1, rowspan: 1} 6 {colspan: 0, rowspan: 0} 6 {colspan: 1, rowspan: 1} 6 {colspan: 1, rowspan: 1} 6
期望结果
期望的应该是有7行数据
实际结果
No response
框架版本
Vue2.6
浏览器版本
No response
系统版本
No response
Node版本
No response
补充说明
No response