Skip to content

Commit

Permalink
Update index.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
chienleng committed Sep 8, 2023
1 parent 55e7fc1 commit ef6ccba
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pages/energy/_region/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,11 @@ export default {
this.updateEmissionsData()
},
view() {
this.handleQueryChange(this.query)
const query = { range: '7d', interval: '30m' }
this.handleQueryChange(query)
this.setRange('7D')
this.setInterval('30m')
}
},
Expand Down

0 comments on commit ef6ccba

Please sign in to comment.