diff --git a/src/pages-sub/information/rank.vue b/src/pages-sub/information/rank.vue index dc5f928..6991293 100644 --- a/src/pages-sub/information/rank.vue +++ b/src/pages-sub/information/rank.vue @@ -2,7 +2,7 @@ import { systemInfo } from '@/utils/systemInfo' import MxRadioGroup from "@/pages-sub/components/radio/index.vue?async" import MxSearch from "@/pages-sub/components/search/index.vue?async" -import { getAreaList, getHistoryYearList, getRankTable } from "@/service" +import { getAreaList, getRankTable } from "@/service" import { useUserStore } from "@/store" // #ifdef MP-WEIXIN @@ -70,7 +70,7 @@ const handleChange = () => { exceedRatioText.value = resp.result.exceedRatioText estimatedRank.value = resp.result.estimatedRank yearList.value = [...resp.result.years] - searchParams.value.year = yearList.value[yearList.value.length - 1]?.value + searchParams.value.year = resp.result.selectedYear.toString() nearbyItems.value = [...resp.result.nearbyItems.reverse()] areaName.value=resp.result.selectedArea