From 68357040fbe8c0380df27514a8c8a5e27909c84b Mon Sep 17 00:00:00 2001 From: jmal Date: Mon, 10 Feb 2025 15:02:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E6=89=93=E5=BC=80=20E?= =?UTF-8?q?xcalidraw=20=E6=96=87=E4=BB=B6=E6=97=B6=E5=81=B6=E5=B0=94?= =?UTF-8?q?=E5=87=BA=E7=8E=B0=E5=86=85=E5=AE=B9=E4=B8=BA=E7=A9=BA=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/office/ExcalidrawEditor.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/office/ExcalidrawEditor.vue b/src/components/office/ExcalidrawEditor.vue index 08bca7e..ba66558 100644 --- a/src/components/office/ExcalidrawEditor.vue +++ b/src/components/office/ExcalidrawEditor.vue @@ -71,7 +71,7 @@ export default { }, data() { return { - excalidrawUrl: `${window.location.origin}/excalidraw/app/`, + excalidrawUrl: null , excalidrawData: { elements: [], appState: {}, @@ -130,6 +130,7 @@ export default { this.file.path = res.data.path this.loadData(res.data.contentText) this.currentContext = res.data.contentText + this.excalidrawUrl = `${window.location.origin}/excalidraw/app/` }) this.$nextTick(() => { this.$refs.historyPopover.loadHistoryList(this.file.id)