Selaa lähdekoodia

fix: 修改 footer 位置的 doc 链接地址

MTrun 3 vuotta sitten
vanhempi
sitoutus
f2af017925
1 muutettua tiedostoa jossa 5 lisäystä ja 3 poistoa
  1. 5 3
      src/layout/components/Footer/index.vue

+ 5 - 3
src/layout/components/Footer/index.vue

@@ -3,15 +3,17 @@
     <slot>
       <n-text depth="2">
         <n-a>{{ $t('global.doc_addr') }}: </n-a>
-        <n-a italic href="http://www.mtruning.club/">
-          http://www.mtruning.club/
+        <n-a italic :href="docPath">
+          {{docPath}}
         </n-a>
       </n-text>
     </slot>
   </div>
 </template>
 
-<script setup lang="ts"></script>
+<script setup lang="ts">
+import { docPath } from '@/settings/pathConst'
+</script>
 
 <style lang="scss" scoped>
 @include go(footer) {