src/components/Table/lims-table.vue
@@ -43,7 +43,7 @@ show-overflow-tooltip :sortable="item.sortable ? true : false" :type="item.type" :width="item.width" :width="item.dataType === 'action'? getWidth(item.operation) : item.width" align="center" > <!-- <div class="123" v-if="item.type == ''"> --> @@ -344,6 +344,14 @@ }, methods: { getWidth(row) { let count = 0 console.log('row---', row) row.forEach(a => { count += a.name.length }) return count * 15 + 40 + 'px' }, iconFn(row) { if (row.name === "编辑" || row.name === "修改") { return "el-icon-edit";