Commit fd6a95b8 authored by 杨南鸿's avatar 杨南鸿

修复下拉展开会出现浮动td都有内容的问题

parent b86255c3
import ElCheckbox from 'element-ui/packages/checkbox';
export default { export default {
name: 'ElTableRow', name: 'ElTableRow',
props: [ props: [
...@@ -20,6 +21,9 @@ export default { ...@@ -20,6 +21,9 @@ export default {
'handleCellMouseEnter', 'handleCellMouseEnter',
'fixed' 'fixed'
], ],
components: {
ElCheckbox
},
render() { render() {
const { const {
columns, columns,
...@@ -39,9 +43,6 @@ export default { ...@@ -39,9 +43,6 @@ export default {
<tr> <tr>
{ {
columns.map((column, cellIndex) => { columns.map((column, cellIndex) => {
if (columnsHidden[cellIndex] && this.fixed) {
return null;
}
const { rowspan, colspan } = this.getSpan(row, column, $index, cellIndex); const { rowspan, colspan } = this.getSpan(row, column, $index, cellIndex);
if (!rowspan || !colspan) { if (!rowspan || !colspan) {
return null; return null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment