From dcc797104154122f9eb26e609e805056acc6aaf8 Mon Sep 17 00:00:00 2001 From: huoyijie Date: Thu, 24 Aug 2023 10:36:18 +0800 Subject: [PATCH] fix remove redraw from init() --- frontend/components/WB.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/frontend/components/WB.js b/frontend/components/WB.js index cbfcee7..6904b14 100644 --- a/frontend/components/WB.js +++ b/frontend/components/WB.js @@ -174,9 +174,6 @@ export default { window.onresize = () => that.redraw(); // 禁止右键唤起上下文菜单 document.oncontextmenu = () => false; - - // 初始化画板 - this.redraw(); }, // 清理资源