From a5b69fe54969320f426af03629ad7010a83e1b3d Mon Sep 17 00:00:00 2001 From: Shawn <45581750+KOP-XIAO@users.noreply.github.com> Date: Tue, 25 Jun 2019 19:46:08 +0800 Subject: [PATCH] Update weather.js --- weather.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weather.js b/weather.js index 5ecd0b7..6518918 100644 --- a/weather.js +++ b/weather.js @@ -11,7 +11,7 @@ $request(weaapi, function(error, response, data){ var wea = "天气状况: " + obj.wea + " 当前" + obj.tem + "℃ " + obj.tem2 + "℃~" + obj.tem1 + "℃"; var air = "当前风力: " + obj.win + obj.win_speed + " 风速" + obj.win_meter + "\n空气指数: " + obj.air + " " + obj.air_level + "\n友情提示: " + obj.air_tips + "\n更新时间: " + obj.date + " "+ obj.update_time; let wmation = [city,wea,air]; - $notify(wmation[0], wmation[1], wmation[2]); + $notify("Weather Condition:", wmation[0]+ wmation[1]+ wmation[2]); $done(); } }