소스 검색

site map update

abpcoder 1 개월 전
부모
커밋
87b093d794
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/pagesMain/pages/index/components/index-map.vue

+ 2 - 2
src/pagesMain/pages/index/components/index-map.vue

@@ -60,10 +60,10 @@ const goSimulate = () => {
     }
 }
 
-const maps = ref<SiteMap[]>([{
+const maps = computed<SiteMap[]>(() => [{
     title: '本省规则',
     desc: '填志愿不踩坑',
-    pagePath: routes.newsDetail + '?id=' + 1065
+    pagePath: routes.newsDetail + '?id=' + (userStore.isHN ? 1065 : 1078)
 }, {
     title: '自我评价',
     desc: '了解自身优势',