Parcourir la source

site map update

abpcoder il y a 1 mois
Parent
commit
87b093d794
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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: '了解自身优势',