Explorar el Código

site map update

abpcoder hace 1 mes
padre
commit
87b093d794
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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: '本省规则',
     title: '本省规则',
     desc: '填志愿不踩坑',
     desc: '填志愿不踩坑',
-    pagePath: routes.newsDetail + '?id=' + 1065
+    pagePath: routes.newsDetail + '?id=' + (userStore.isHN ? 1065 : 1078)
 }, {
 }, {
     title: '自我评价',
     title: '自我评价',
     desc: '了解自身优势',
     desc: '了解自身优势',