Skip to content

Commit

Permalink
fix: replay bug
Browse files Browse the repository at this point in the history
  • Loading branch information
whes1015 committed Jul 31, 2023
1 parent c269880 commit e2217bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/core/index/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,7 @@ function replay_stop() {
i--;
}
eew_cache = [];
data_cache = [];
i_list = {
data : [],
time : 0,
Expand All @@ -475,6 +476,7 @@ function replay_run() {
i--;
}
eew_cache = [];
data_cache = [];
time.style.cursor = "pointer";
time.style.color = "yellow";
on_rts_data({});
Expand Down
2 changes: 1 addition & 1 deletion src/core/index/event.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const tsunami_map_ws = JSON.parse(fs.readFileSync(path.resolve(app.getAppPath(),

let eew_cache = [];
let tsunami_map = {};
const data_cache = [];
let data_cache = [];

let type_list = {
time : 0,
Expand Down

0 comments on commit e2217bc

Please sign in to comment.