fix:防止图表mousedown触发clickoutside事件
This commit is contained in:
@@ -516,11 +516,7 @@ export default {
|
||||
setTimeout(() => {
|
||||
const start = new Date().setHours(new Date().getHours() - 1)
|
||||
const end = new Date()
|
||||
if (this.from === 'dashboard') {
|
||||
this.timeRange = this.$store.getters.getTimeRange
|
||||
} else {
|
||||
this.timeRange = [bus.computeTimezoneTime(start), bus.computeTimezoneTime(end)]
|
||||
}
|
||||
this.timeRange = [bus.computeTimezoneTime(start), bus.computeTimezoneTime(end)]
|
||||
this.prevChart = {
|
||||
...lodash.cloneDeep(this.editChart),
|
||||
loaded: true
|
||||
|
||||
Reference in New Issue
Block a user