아이콘 변경
All checks were successful
LocalNet_front/pipeline/head This commit looks good

This commit is contained in:
nevermoregb 2025-04-11 10:44:22 +09:00
parent 549a01d454
commit db06418389

View File

@ -40,7 +40,13 @@ export const useWeatherStore = defineStore('weather', () => {
return;
}
dailyWeatherList.value = resData.dailyWeatherList;
// 검은색 태양 아이콘 변경
dailyWeatherList.value = resData.dailyWeatherList.map(w => {
return {
...w,
icon: w.icon.replace(/n$/, 'd'),
};
});
const now = new Date();
const todayStr = now.toISOString().split('T')[0];