From 6c1ab867b1d791d6f9c6886cc308ec17a067cbe3 Mon Sep 17 00:00:00 2001 From: ansgoo Date: Fri, 4 Aug 2023 00:14:40 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=AE=8C=E6=88=90=E4=BA=86?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E7=B3=BB=E7=BB=9F=E7=9A=84=E8=AE=BE=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/pages/DesigerView/View.vue | 10 ++++---- src/apiView/utils.ts | 8 +++++- src/apiView/websocket/WebsocketView.vue | 8 +++--- src/apiView/websocket/handler.ts | 8 +++--- src/bus/enums.ts | 10 +++++++- src/bus/index.ts | 3 ++- src/bus/logger.ts | 33 +++++++++++++++++++++++++ src/designer/Editor/Editor.vue | 6 ++--- src/designer/Editor/Shape/Shape.tsx | 4 +-- src/designer/load.ts | 8 ++---- src/designer/state/canvas.ts | 9 ++++--- src/designer/toolbars.ts | 7 +++--- src/designer/utils.ts | 4 +++ src/scripts/custom/ScriptsEditor.vue | 4 +-- 14 files changed, 85 insertions(+), 37 deletions(-) create mode 100644 src/bus/logger.ts diff --git a/examples/pages/DesigerView/View.vue b/examples/pages/DesigerView/View.vue index d6b89fb0..1b19813f 100644 --- a/examples/pages/DesigerView/View.vue +++ b/examples/pages/DesigerView/View.vue @@ -3,9 +3,9 @@