邓洁 : 有害气体echarts数据,切换站点与隧道数据渲染
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
import WindPressureItem from "./childComps/WindPressureItem.vue";
|
||||
import TimeRangeBtn from "@/components/timeRangeBtn/index.vue"
|
||||
import * as echarts from 'echarts';
|
||||
import {getEchartsInfo} from "../../../api/largeScreen";
|
||||
import {getEchartsInfo} from "@/api/largeScreen";
|
||||
|
||||
const props = defineProps({
|
||||
list: Array,
|
||||
@@ -60,7 +60,6 @@ watch(() => props.winData, (now) => {
|
||||
|
||||
const getWindInfo = (equipmentId) => {
|
||||
getEchartsInfo(equipmentId).then(res => {
|
||||
console.log('res-wind', res)
|
||||
if (res?.code === 1000) {
|
||||
isVisited.value = true
|
||||
nextTick(() => {
|
||||
|
||||
Reference in New Issue
Block a user