Skip to content

Commit

Permalink
延时5ms,解决了“正在快速计算”来不及更新显示的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
LetMeFly666 committed Oct 20, 2022
1 parent f3236a9 commit 94bb3bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @Author: LetMeFly
* @Date: 2022-10-17 19:03:59
* @LastEditors: LetMeFly
* @LastEditTime: 2022-10-20 19:36:09
* @LastEditTime: 2022-10-20 19:40:51
-->
<!DOCTYPE html>
<html>
Expand Down Expand Up @@ -296,7 +296,7 @@ <h3>喜欢了就去点个Star吧:<a href="https://github.com/LetMeFly666/Count
result = mainOriginal(numbers, operators);
realRender();
$("#Percent").html("计算已完成!");
}, 0);
}, 5);
}
else {
result = main(numbers, operators, realRender);
Expand Down

0 comments on commit 94bb3bc

Please sign in to comment.