<el-table-column
v-for="col in list_name"
:key="col"
:prop="col"
:label="col"
min-width="100"
></el-table-column>
this.tableDat.list = data;
this.tableDat.totalCount = totalCount;
this.table_loading = false;
let list = [];
this.tableDat.list.forEach((item, index_i) => {
if (item.list&& item.list.length != 0) {
item.list.forEach((json, index_j) => {
item[json.name] = json.value;
list.push(json.name);
this.list_name = Array.from(new Set(list));
});
}
});