From: Caisking <3449750381@qq.com> Date: Thu, 2 Jan 2025 12:29:34 +0000 (+0800) Subject: 卡片管理:修复表冠导致的id错误 X-Git-Tag: v1.3.113-repair_tp~21^2~41 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=7a244eaae5f3d18e834a9778d8a414db4c5c2f34;p=mirrors%2FFD230.git 卡片管理:修复表冠导致的id错误 --- diff --git a/code/sdk/application/wearable/fd230app/nativeui/add_card/src/AddCardPresenter.cpp b/code/sdk/application/wearable/fd230app/nativeui/add_card/src/AddCardPresenter.cpp index e2281cff1..fe15323dc 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/add_card/src/AddCardPresenter.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/add_card/src/AddCardPresenter.cpp @@ -22,6 +22,8 @@ namespace OHOS { WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "AddCardPresenter::AddCardPresenter"); model = &AddCardModel::GetInstance(); + //进入设置界面;将卡片序号设置为0 + model->SetSelectedCardIndex(0); g_pAddCardPresenter = this; }