shawenguan 1 jaar geleden
bovenliggende
commit
a1d2fc41c6
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      Scripts/qweather/qweatherHelper.js

+ 1 - 1
Scripts/qweather/qweatherHelper.js

@@ -113,7 +113,7 @@ async function tryCheckWeather() {
         let now = wDataRet.now;
         // 观测时间
         let obsDate = new Date(now.obsTime);
-        text = `当前实时天气(${magicJS.formatDate(obsDate, 'yyyy/MM/dd HH:mm:ss')}):\n`;
+        text += `当前实时天气(${magicJS.formatDate(obsDate, 'yyyy/MM/dd HH:mm:ss')}):\n`;
         text += `${now.text}\n`;
         text += `过去1小时降水量:${now.precip}毫米\n`;
         text += `温度:${now.temp}℃\n`;