shawenguan 1 년 전
부모
커밋
a1d2fc41c6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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`;