|
@ -41,7 +41,7 @@ |
|
|
@header-dragend="(newWidth, oldWidth, column)=>saveRowWidth(column, newWidth)" |
|
|
@header-dragend="(newWidth, oldWidth, column)=>saveRowWidth(column, newWidth)" |
|
|
:height="tableHeight"> |
|
|
:height="tableHeight"> |
|
|
<el-table-column |
|
|
<el-table-column |
|
|
v-for="(item,index) in headers" |
|
|
|
|
|
|
|
|
v-for="(item) in headers" |
|
|
:key="item" |
|
|
:key="item" |
|
|
:width="getRowWidth(item)" |
|
|
:width="getRowWidth(item)" |
|
|
:label="getColumnName(item)" |
|
|
:label="getColumnName(item)" |
|
|