fix:检测数据默认置空

This commit is contained in:
shijing 2025-09-25 09:28:48 +08:00
parent ff210937e9
commit 67b517d4f8
1 changed files with 3 additions and 2 deletions

View File

@ -93,6 +93,7 @@ export default {
methods: {
open() {
let that = this;
that.mpointList = [];
this.visible = true;
that.$nextTick(() => {
let height = document.getElementById("tableWap").clientHeight;
@ -114,13 +115,13 @@ export default {
},
handleClick(val){
let that = this;
that.option.xAxis.data = [];
that.option.series.data = [];
that.mpointList.forEach(item=>{
if(item.nickname == that.activeName){
that.query.mpoint = item.id;
that.query.page = 1;
that.option.title.text = that.activeName;
that.option.xAxis.data = [];
that.option.series.data = [];
let params = {};
params.mpoint = item.id;
params.timex__gte = that.startTime;