fix:检测数据默认置空
This commit is contained in:
parent
ff210937e9
commit
67b517d4f8
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue