From e4b60f681bc298e607819bdf487a14aef42db65c Mon Sep 17 00:00:00 2001 From: frank-huangran Date: Wed, 7 Aug 2024 15:49:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E7=90=86=E5=91=8A=E8=AD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: frank-huangran --- .../client_ui/entry/src/main/ets/pages/FrameRateTestPage.ets | 2 +- .../client/client_ui/entry/src/main/ets/pages/StartUpPage.ets | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/host/smartperf/client/client_ui/entry/src/main/ets/pages/FrameRateTestPage.ets b/host/smartperf/client/client_ui/entry/src/main/ets/pages/FrameRateTestPage.ets index cf633f11c..1efe7f5f9 100644 --- a/host/smartperf/client/client_ui/entry/src/main/ets/pages/FrameRateTestPage.ets +++ b/host/smartperf/client/client_ui/entry/src/main/ets/pages/FrameRateTestPage.ets @@ -11,7 +11,7 @@ const TAG = 'FrameRateTestPage' @Component struct FrameRateTestPage { @State private curAppList:Array = globalThis.appList - @State selectApps: Array = new Array() + @State selectApps: String[] = [] @State private collectConfigs: CollectItem[] = [] aboutToAppear() { diff --git a/host/smartperf/client/client_ui/entry/src/main/ets/pages/StartUpPage.ets b/host/smartperf/client/client_ui/entry/src/main/ets/pages/StartUpPage.ets index ef58e3eda..d05589122 100644 --- a/host/smartperf/client/client_ui/entry/src/main/ets/pages/StartUpPage.ets +++ b/host/smartperf/client/client_ui/entry/src/main/ets/pages/StartUpPage.ets @@ -15,7 +15,7 @@ const TAG = 'StartUpPage' @Component struct StartUpPage { @State private curAppList:Array = globalThis.appList - @State selectApps:Array = new Array() + @State selectApps: String[] = [] @State selectAppIcon: string = '' @State customPopup: boolean = true @State startType: boolean = false