Skip to content

Commit

Permalink
fix remove redraw from init()
Browse files Browse the repository at this point in the history
  • Loading branch information
huoyijie committed Aug 24, 2023
1 parent ef5c4e6 commit dcc7971
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions frontend/components/WB.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,6 @@ export default {
window.onresize = () => that.redraw();
// 禁止右键唤起上下文菜单
document.oncontextmenu = () => false;

// 初始化画板
this.redraw();
},

// 清理资源
Expand Down

0 comments on commit dcc7971

Please sign in to comment.