vue development, using iview table header dislocation
in another computer is good, looking for a long time did not find a solution, hope God to answer! The
code is as follows:
jobColumns: [
] {title: "", key: "taskNamev", widthPer: 17},
{title: "", key: "customerNamev", widthPer: 17},
{title: "", key: "taskTypev", widthPer: 8},
{title: "", key: "taskStatev", widthPer: 8},
{title: "", key: "planStartEndTimev", widthPer: 24},
{title: "", key: "taskActualManagerNameV", widthPer: 10},
{
title: "", key: "action",
render: (h, params) => {
return h("div", [h("Button", {
props: {type: "primary", size: "small"},
style: {marginLeft: "10px", border: "solid 1px -sharp3864ae", background: "rgba(35,72,129,0.5)"},
on: {
click: (e) => {
this.toDetail(params.row);
}
}
}, "")
]);
}
}
], tableH0: 0, tableH1: 0, tableH_: [260, 260], tableW_: [50, 50],