邓洁: 首屏面板的loading

This commit is contained in:
邓洁
2024-01-03 15:24:34 +08:00
parent 2d1d42f83a
commit 317ceacf23
6 changed files with 69 additions and 26 deletions

View File

@@ -192,8 +192,10 @@ const getAirInfo = (now) => {
windSpeed.value = item.value
}
})
airArr.push(airArr.shift())
airList.value = airArr
if(airArr.length!==0){
airArr.push(airArr.shift())
airList.value = airArr
}
}
const initChart = (type, values) => {
//3.初始化container容器