温度管理:加变量筛选
This commit is contained in:
parent
abb63347d1
commit
8a3e3a62e3
@ -134,7 +134,8 @@ const inittemperatureChar = () => {
|
||||
bottom: 10,
|
||||
left: 25,
|
||||
containLabel: true,
|
||||
borderColor:'transparent',
|
||||
borderColor:'#ffffff',
|
||||
borderWidth: 1,
|
||||
backgroundColor:'rgba(254,55,49,0.20)'
|
||||
},
|
||||
xAxis: {
|
||||
@ -410,7 +411,7 @@ const autoUpdate = () => {
|
||||
if (!autoUpdateTimer) {
|
||||
autoUpdateTimer = setInterval(() => {
|
||||
if(!selectcheck.value.length){
|
||||
getChartData({deviceId:SelectdeviceId.value,attributes:[]})
|
||||
getChartData({deviceId:SelectdeviceId.value,attributes:attributesDefault})
|
||||
}else{
|
||||
getChartData({deviceId:SelectdeviceId.value,attributes:selectcheck.value})
|
||||
}
|
||||
@ -432,7 +433,7 @@ onActivated(() => {
|
||||
|
||||
onMounted(() => {
|
||||
deviceQuery(devicelistData)
|
||||
// autoUpdate()
|
||||
autoUpdate()
|
||||
useEventListener(window, 'resize', echartsResize)
|
||||
})
|
||||
onUnmounted(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user