This commit is contained in:
BianLzhaoMin 2025-08-04 18:22:58 +08:00
parent 0a2775d812
commit f2ef05d06e
2 changed files with 4 additions and 2 deletions

View File

@ -153,7 +153,7 @@ function initTable(dataList, limit, page) {
templet: function (d) {
let num = 0;
if (d.tbTowerVoList) {
num = d.tbTowerVoList.length;
num = d.tbTowerVoList.length - 1;
}
let html =
"<a class=\"layui-icon\" style='cursor:pointer;' title='杆塔管理' onclick=\"addTower('" +

View File

@ -1432,7 +1432,9 @@ function getLegendData(id) {
<div class="legend-item">
<img src="${item.icon}" alt="">
<span class="legend-item-name">${item.name}</span>
<span>${item.value}</span>
<span>${
index === 10 ? item.value - 1 : item.value
}</span>
</div>
`;
});