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; }