This commit is contained in:
dyhj625 2025-04-07 15:38:37 +09:00
parent 25c691338d
commit 0a0c7b4244

View File

@ -35,7 +35,6 @@ export const useWeatherStore = defineStore('weather', () => {
const resData = res.data.data;
const raw = resData.weatherInfo;
const data = JSON.parse(raw);
console.log(data.list)
if (!data || !Array.isArray(data.list) || data.list.length === 0) {
console.error('날씨 데이터 형식 오류 또는 없음:', data);
return;