监控看板添加时间为空查询图表时的判断
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
<div class="fr" style="text-align: right;">
|
||||
<el-date-picker
|
||||
v-model="datetimeModel"
|
||||
style="width: 355px!important;margin-right: 8px;"
|
||||
style="width: 355px!important;margin-right: 8px!important;"
|
||||
type="datetimerange"
|
||||
unlink-panels
|
||||
:picker-options="pickerOptions"
|
||||
@@ -405,8 +405,10 @@
|
||||
},
|
||||
// 时间选择器
|
||||
dateChange() {
|
||||
this.currTimeList = {startTime: this.datetimeModel[0], endTime: this.datetimeModel[1]};
|
||||
this.fnChartView({});
|
||||
if (this.datetimeModel) {
|
||||
this.currTimeList = {startTime: this.datetimeModel[0], endTime: this.datetimeModel[1]};
|
||||
this.fnChartView({});
|
||||
}
|
||||
},
|
||||
// 下拉值变化事件
|
||||
selectValChange(val) {
|
||||
|
||||
Reference in New Issue
Block a user