|
|
|
@ -23,7 +23,6 @@
|
|
|
|
|
}"
|
|
|
|
|
:scroll-x="{enabled: true}"
|
|
|
|
|
:scroll-y="{enabled: true}"
|
|
|
|
|
:span-method="rowspanMethod"
|
|
|
|
|
highlight-current-row
|
|
|
|
|
highlight-hover-row
|
|
|
|
|
show-overflow
|
|
|
|
@ -144,7 +143,9 @@ export default {
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
//合并行
|
|
|
|
|
//合并行 https://vxetable.cn/#/component/table/edit/insert
|
|
|
|
|
// const { row: newRow } = await $table.insertAt(record, row)
|
|
|
|
|
// await $table.setEditCell(newRow, 'name')
|
|
|
|
|
rowspanMethod({row, _rowIndex, column, visibleData}) {
|
|
|
|
|
//不要忘记在vxe-grid上配置 :scroll-y="{enabled: false}" 防止下拉时样式变化
|
|
|
|
|
// 需要合并的列字段
|
|
|
|
|