From 59fed6579cec4db80e7e6a27d863ae145fa09576 Mon Sep 17 00:00:00 2001 From: fan Date: Thu, 15 Jun 2023 14:20:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=9A=82=E6=8F=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/drawApp/lineApp.ts | 2 +- src/layouts/LineLayout.vue | 58 +++++++++++++++++++++++++++++++++++++ src/layouts/LineLoayout.vue | 12 -------- src/pages/PublishManage.vue | 7 +++++ src/router/routes.ts | 5 ++++ src/stores/line-store.ts | 13 ++------- 6 files changed, 74 insertions(+), 23 deletions(-) create mode 100644 src/layouts/LineLayout.vue delete mode 100644 src/layouts/LineLoayout.vue diff --git a/src/drawApp/lineApp.ts b/src/drawApp/lineApp.ts index e56bc87..6a84e2a 100644 --- a/src/drawApp/lineApp.ts +++ b/src/drawApp/lineApp.ts @@ -44,7 +44,7 @@ export function initLineApp(dom: HTMLElement): GraphicApp { return lineApp; } -export async function loadDrawDatas(app: GraphicApp) { +export async function loadLineDatas(app: GraphicApp) { const drawStore = useDrawStore(); const id = drawStore.draftId; if (!id) { diff --git a/src/layouts/LineLayout.vue b/src/layouts/LineLayout.vue new file mode 100644 index 0000000..8029311 --- /dev/null +++ b/src/layouts/LineLayout.vue @@ -0,0 +1,58 @@ + + + diff --git a/src/layouts/LineLoayout.vue b/src/layouts/LineLoayout.vue deleted file mode 100644 index 1b27158..0000000 --- a/src/layouts/LineLoayout.vue +++ /dev/null @@ -1,12 +0,0 @@ - - - diff --git a/src/pages/PublishManage.vue b/src/pages/PublishManage.vue index 5367708..1102de3 100644 --- a/src/pages/PublishManage.vue +++ b/src/pages/PublishManage.vue @@ -1,5 +1,6 @@