From f5cf37bb37d61c26e6ac0622586441e334b41ae1 Mon Sep 17 00:00:00 2001 From: han2015 <1019850453@qq.com> Date: Thu, 12 Jun 2025 15:51:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BB=A3=E7=90=86=E6=83=85?= =?UTF-8?q?=E5=86=B5=E9=A2=84=E8=A7=88=E8=B7=AF=E5=BE=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- src/views/doc/share.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.development b/.env.development index a536a4e..f1158fa 100644 --- a/.env.development +++ b/.env.development @@ -9,4 +9,4 @@ VITE_APP_BASE_API = '/dev-api' VITE_APP_BASE_URL = 'http://myvuetest.net' VITE_APP_TOKEN_KEY = 'offlineAccessSystemAppToken' VITE_APP_SJZT_URL = 'http://172.20.5.86/prod-api' -VITE_OFFICE_HOST="http://192.168.56.101:8012" +VITE_OFFICE_HOST='http://myvuetest.net/kkpreview' diff --git a/src/views/doc/share.vue b/src/views/doc/share.vue index 1f8f95f..7a455a3 100644 --- a/src/views/doc/share.vue +++ b/src/views/doc/share.vue @@ -127,7 +127,7 @@ function onShareView(row:matterInfo){ let _url=`${siteHost}${apiURL}/share/zip?shareUuid=${row.uuid}&code=${row.code}&uid=${uid}&puuid=root&rootUuid=root&fullfilename=${a}` dynamicVNode.value=h(preview,{ - url:`${officeHost}/onlinePreview?url=`+window.btoa(unescape(encodeURIComponent(_url))), + url:`${officeHost}/api/onlinePreview?url=`+window.btoa(unescape(encodeURIComponent(_url))), closeFunc:()=>dynamicVNode.value=null }) }