Commit e6c13084 by 袁成

fix: 展示列

parent d917f9aa
...@@ -107,12 +107,12 @@ export default { ...@@ -107,12 +107,12 @@ export default {
selection: [], selection: [],
showModal: false, showModal: false,
tableColumns: [ tableColumns: [
{ // {
type: 'selection', // type: 'selection',
key: 'select', // key: 'select',
width: 60, // width: 60,
align: 'center', // align: 'center',
}, // },
// { // {
// title: '代码', // title: '代码',
// key: 'code', // key: 'code',
...@@ -179,7 +179,15 @@ export default { ...@@ -179,7 +179,15 @@ export default {
item.width = width item.width = width
return item return item
}) })
this.tableColumns = this.tableColumns.concat(column) let selectColumn = [
{
type: 'selection',
key: 'select',
width: 60,
align: 'center',
}
]
this.tableColumns = selectColumn.concat(column)
} }
} }
}, },
......
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