From b1b2825c5bfca7cc14aedd4090c0ea392b817ac6 Mon Sep 17 00:00:00 2001 From: luozheng <1732036298@qq.com> Date: Thu, 18 Apr 2024 18:46:23 +0800 Subject: [PATCH] =?utf8?q?=E4=BF=AE=E6=94=B9=E5=A4=A9=E6=B0=94=E8=A7=86?= =?utf8?q?=E5=9B=BE=EF=BC=9A=E8=A7=A3=E5=86=B3=E5=A4=A9=E6=B0=94=E5=AD=90?= =?utf8?q?=E5=9C=B0=E5=8C=BA=E6=98=BE=E7=A4=BA=E9=94=99=E8=AF=AF=E9=97=AE?= =?utf8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../wearable/fd230app/nativeui/weather/src/WeatherModel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/sdk/application/wearable/fd230app/nativeui/weather/src/WeatherModel.cpp b/code/sdk/application/wearable/fd230app/nativeui/weather/src/WeatherModel.cpp index daa9e5639..2fd144feb 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/weather/src/WeatherModel.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/weather/src/WeatherModel.cpp @@ -2,7 +2,7 @@ * @Author: luozheng 1732036298@qq.com * @Date: 2024-04-08 18:40:09 * @LastEditors: luozheng 1732036298@qq.com - * @LastEditTime: 2024-04-16 09:48:10 + * @LastEditTime: 2024-04-18 18:42:24 * @FilePath: /FD230/code/sdk/application/wearable/fd230app/nativeui/weather/src/WeatherModel.cpp */ #include "weather/include/WeatherModel.h" @@ -164,7 +164,7 @@ namespace OHOS std::string WeatherModel::GetWeatherArea() { std::string city = Weather_data_t_address.city; - std::string subLocality = Weather_data_t_address.city; + std::string subLocality = Weather_data_t_address.subLocality; return (city + subLocality); } -- 2.17.1