修改样式,并将is_hidden = '0' 显示,等于1时不显示

This commit is contained in:
yangjun 2025-11-04 17:03:30 +08:00
parent 489bd6a471
commit eb9627b91d
1 changed files with 7 additions and 6 deletions

View File

@ -769,11 +769,8 @@ function updateChartCounty() {
align: 'left',
color: '#ffffff',
formatter: (params) => {
console.log("🚀 ~ updateChartCounty ~ params:", params)
const value1 = values1[params.dataIndex];
console.log("🚀 ~ updateChartCounty ~ value1:", value1)
const value2 = values2[params.dataIndex];
console.log("🚀 ~ updateChartCounty ~ value2:", value2)
return `{icon|} ${value1.toFixed(1)} - ${value2.toFixed(1)}`; //
},
rich: {
@ -1371,6 +1368,10 @@ async function loadData() {
view011: it.view011 ?? '',
view012: it.view012 ?? ''
}));
console.log("🚀 ~ 1111loadData ~ z.value:", z.value)
z.value = z.value.filter(item => item.izHidden != 1)
console.log("🚀 ~ 2222loadData ~ z.value:", z.value)
const arr = (r && r.data) ? r.data : [];
@ -1932,7 +1933,7 @@ function closeModal3() {
justify-content: space-between;
background-color: rgba(19, 23, 34, 0.05); // #131722
color: #fff;
font-size: 18px;
font-size: 20px;
height: 30px;
padding: 0 8px;
gap: 8px;
@ -1961,10 +1962,10 @@ function closeModal3() {
justify-content: space-between;
background-color: rgba(19, 23, 34, 0.4); // #131722
color: #fff;
font-size: 18px;
font-size: 20px;
margin: 5px 0; // 2px
padding: 0 30px;
height: 40px;
height: 50px;
box-sizing: border-box;
}