From 7a244eaae5f3d18e834a9778d8a414db4c5c2f34 Mon Sep 17 00:00:00 2001 From: Caisking <3449750381@qq.com> Date: Thu, 2 Jan 2025 20:29:34 +0800 Subject: [PATCH] =?utf8?q?=E5=8D=A1=E7=89=87=E7=AE=A1=E7=90=86=EF=BC=9A?= =?utf8?q?=E4=BF=AE=E5=A4=8D=E8=A1=A8=E5=86=A0=E5=AF=BC=E8=87=B4=E7=9A=84i?= =?utf8?q?d=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../fd230app/nativeui/add_card/src/AddCardPresenter.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.17.1