diff --git a/pages/index.vue b/pages/index.vue index fbe84e6..7ad3dea 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -6,7 +6,7 @@ useIntervalFn(async () => { await store.fetch(); }, 10 * 1000); -const selectedCity = ref([cities[0]]) +const selectedCity = ref(cities) const switchCityFilter = (targetCity: CityInfo) => { if (selectedCity.value.find(city => city.name == targetCity.name)) {