数据互导逻辑开发

This commit is contained in:
暮光:城中城
2019-10-06 21:57:20 +08:00
parent aebc6d2d8b
commit d7c94d0149
5 changed files with 19 additions and 10 deletions

View File

@@ -279,9 +279,9 @@
document.getElementById("widthCalculate").innerText = propData[key];
var width2 = document.getElementById("widthCalculate").offsetWidth;
var width = (width1 > width2) ? width1 : width2;
width = (width < 60) ? 60 : width;
width = (width < 50) ? 50 : width;
width = (width > 200) ? 200 : width;
executeResultCols.push({prop: key, width: width + 20});
executeResultCols.push({prop: key, width: width + 25});
}
for (var i = 0; i < dataList.length; i++) {
dataList[i]._index = i + 1;