From 1da583ad3df405c0e6be8ef6cb8bbda328f453d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9A=AE=E5=85=89=EF=BC=9A=E5=9F=8E=E4=B8=AD=E5=9F=8E?= <806783409@qq.com> Date: Thu, 16 Feb 2023 22:17:26 +0800 Subject: [PATCH] =?UTF-8?q?#I6FMPT=20=E8=A7=A3=E5=86=B3=E5=AF=8C=E6=96=87?= =?UTF-8?q?=E6=9C=AC=E7=BC=96=E8=BE=91=E5=99=A8=E5=9B=BE=E7=89=87=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E5=A4=B1=E8=B4=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wiki-ui/src/views/page/editor/WangEditor.vue | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/zyplayer-doc-ui/wiki-ui/src/views/page/editor/WangEditor.vue b/zyplayer-doc-ui/wiki-ui/src/views/page/editor/WangEditor.vue index 3ca63762..d3f03526 100644 --- a/zyplayer-doc-ui/wiki-ui/src/views/page/editor/WangEditor.vue +++ b/zyplayer-doc-ui/wiki-ui/src/views/page/editor/WangEditor.vue @@ -47,7 +47,7 @@ let editorConfig = ref({ // 最大支持50M图片上传 maxFileSize: 50 * 1024 * 1024, withCredentials: true, - meta: {pageId: route.params.pageId}, + meta: {pageId: route.query.pageId}, }, uploadVideo: { server: import.meta.env.VITE_APP_BASE_API + '/zyplayer-doc-wiki/page/file/wangEditor/upload', @@ -55,7 +55,7 @@ let editorConfig = ref({ // 最大支持300M图片上传 maxFileSize: 300 * 1024 * 1024, withCredentials: true, - meta: {pageId: route.params.pageId}, + meta: {pageId: route.query.pageId}, } } }); @@ -101,6 +101,15 @@ onBeforeUnmount(() => { defineExpose({setTitle, setHtml, getPageData}); + +