From 23fa268f56dcd99c8dcd46f50f3ffcaa4cdcbc49 Mon Sep 17 00:00:00 2001 From: wwf <1971391498@qq.com> Date: 星期五, 10 十月 2025 17:25:53 +0800 Subject: [PATCH] 功能完善 --- entry/src/main/ets/pages/account/LearningRecordPage.ets | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/entry/src/main/ets/pages/account/LearningRecordPage.ets b/entry/src/main/ets/pages/account/LearningRecordPage.ets index ed49d4c..feffa35 100644 --- a/entry/src/main/ets/pages/account/LearningRecordPage.ets +++ b/entry/src/main/ets/pages/account/LearningRecordPage.ets @@ -1,8 +1,9 @@ import { McLineChart, Options } from '@mcui/mccharts' +import { router } from '@kit.ArkUI' @Entry @Component -export struct LearningRecordPage { +struct LearningRecordPage { @State maxData: number[] = [0, 0, 0, 5, 0, 5, 0] // 鍒濆鍖栨暟鎹� @State seriesOption: Options = new Options({ @@ -26,6 +27,9 @@ Image($r('app.media.left_icon')) .width(20) .height(20) + .onClick(() => { + router.back() + }) Text('瀛︿範璁板綍') .fontSize(18) .fontWeight(700) -- Gitblit v1.8.0