From d306f1ed196c21f67614b4ccf220eaa481f19616 Mon Sep 17 00:00:00 2001 From: Caisking <3449750381@qq.com> Date: Fri, 7 Jun 2024 19:58:42 +0800 Subject: [PATCH] =?utf8?q?=E4=BC=98=E5=8C=96=E9=83=A8=E5=88=86=E6=9E=90?= =?utf8?q?=E6=9E=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../wearable/fd230app/nativeui/traing/src/TraingModel.cpp | 2 +- .../fd230app/nativeui/traingrecord/src/TraingRecordView.cpp | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/code/sdk/application/wearable/fd230app/nativeui/traing/src/TraingModel.cpp b/code/sdk/application/wearable/fd230app/nativeui/traing/src/TraingModel.cpp index e2ced55e9..498658c6c 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/traing/src/TraingModel.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/traing/src/TraingModel.cpp @@ -1110,7 +1110,7 @@ namespace OHOS // 关闭文件 file.close(); - WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "CheckDataJson is ok"); + //WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "CheckDataJson is ok"); return true; } diff --git a/code/sdk/application/wearable/fd230app/nativeui/traingrecord/src/TraingRecordView.cpp b/code/sdk/application/wearable/fd230app/nativeui/traingrecord/src/TraingRecordView.cpp index bfa38000f..f28a022a7 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/traingrecord/src/TraingRecordView.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/traingrecord/src/TraingRecordView.cpp @@ -64,6 +64,10 @@ namespace OHOS void TraingRecordView::DeInit() { container_->RemoveAll(); + lackView->RemoveAll(); + recordView->RemoveAll(); + TraingRecordList->RemoveAll(); + if (labeltitle_ != nullptr) { lackView->Remove(labeltitle_); @@ -221,7 +225,7 @@ namespace OHOS return; } recordView->SetOnDragListener(recorddraglistener); - recordView->SetVisible(false); //隐藏界面 + recordView->SetVisible(false); // 隐藏界面 WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "ShowRecordView end"); } /*控制显示界面*/ -- 2.17.1