فهرست منبع

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

MTrun 3 سال پیش
والد
کامیت
f2af017925
1فایلهای تغییر یافته به همراه5 افزوده شده و 3 حذف شده
  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) {