卡片管理:修复表冠导致的id错误 1593/1
authorCaisking <3449750381@qq.com>
Thu, 2 Jan 2025 12:29:34 +0000 (20:29 +0800)
committerCaisking <3449750381@qq.com>
Thu, 2 Jan 2025 12:29:34 +0000 (20:29 +0800)
code/sdk/application/wearable/fd230app/nativeui/add_card/src/AddCardPresenter.cpp

index e2281cf..fe15323 100644 (file)
@@ -22,6 +22,8 @@ namespace OHOS
     {
         WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "AddCardPresenter::AddCardPresenter");
         model = &AddCardModel::GetInstance();
+        //进入设置界面;将卡片序号设置为0
+        model->SetSelectedCardIndex(0);
         g_pAddCardPresenter = this;
     }