NEZ-1379 fix:时间范围选择器 end time 默认为 23:59:59
This commit is contained in:
@@ -1783,6 +1783,7 @@ export default {
|
||||
}
|
||||
})
|
||||
this.setColor(legend.length)
|
||||
legend.forEach((t, i) => { t.color = this.bgColorList[i] })
|
||||
this.initChart(this.chart, series, this.$refs.screenShowArea, legend)
|
||||
}
|
||||
}).catch(error => {
|
||||
|
||||
@@ -91,6 +91,7 @@
|
||||
<my-date-picker prefix-icon=" " class="panel-time-picker-hidden " size="mini" ref="calendar"
|
||||
format="yyyy/MM/dd HH:mm:ss" @change="dateChange" v-model="searchTime" type="datetimerange"
|
||||
popper-class="panel-time-picker-popper time-picker-popover__select-top"
|
||||
:default-time="['00:00:00', '23:59:59']"
|
||||
:range-separator="$t('dashboard.panel.to')"
|
||||
:start-placeholder="$t('dashboard.panel.startTime')"
|
||||
:end-placeholder="$t('dashboard.panel.endTime')" align="right">
|
||||
|
||||
Reference in New Issue
Block a user