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)