Skip to content

Commit

Permalink
add loader
Browse files Browse the repository at this point in the history
  • Loading branch information
vol4tim committed Dec 25, 2024
1 parent e426a30 commit 80ab695
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/views/Main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ export default {
}
},
async handlerClick(point) {
this.isLoad = true;
this.point = null;
let log = [];
if (this.status === "history") {
Expand All @@ -208,6 +209,7 @@ export default {
address,
log: [...log],
};
this.isLoad = false;
},
async handlerHistoryLog({ sensor_id, start, end }) {
if (this.status === "history") {
Expand Down

0 comments on commit 80ab695

Please sign in to comment.