From fb45c3fc10048d12f0dc683ef00d095c088708e0 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Mon, 4 Dec 2023 19:06:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A1=A5=E5=85=85=E7=BC=BA=E5=A4=B1?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=AF=BC=E8=87=B4=E7=9A=84=E6=89=93=E5=8C=85?= =?UTF-8?q?=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/register.vue | 26 +++++++++++++++---- .../setting/components/change-login-bg.vue | 7 ++--- src/views/tool/help/index.vue | 3 ++- 3 files changed, 27 insertions(+), 9 deletions(-) diff --git a/src/views/register.vue b/src/views/register.vue index ac0c8e52..fab8306e 100644 --- a/src/views/register.vue +++ b/src/views/register.vue @@ -1,14 +1,15 @@ diff --git a/src/views/tool/help/index.vue b/src/views/tool/help/index.vue index 7fd32d5c..40f72ebd 100644 --- a/src/views/tool/help/index.vue +++ b/src/views/tool/help/index.vue @@ -6,13 +6,14 @@ import { useRoute } from 'vue-router'; import { VuePDF, usePDF } from '@tato30/vue-pdf'; import '@tato30/vue-pdf/style.css'; import saveAs from 'file-saver'; +import { parseUrlPath } from '@/plugins/file-static-url'; const { t, currentLocale } = useI18n(); const appStore = useAppStore(); const route = useRoute(); // 文档地址 const docUrl = computed(() => { - let url = appStore.getHelpDoc; + let url = parseUrlPath(appStore.helpDoc); if (url.indexOf('{language}') === -1) { return url; }