From ac607ff988f7e45799ae8e11663e753d4285bbb0 Mon Sep 17 00:00:00 2001 From: huangxiaoyao <976125628@qq.com> Date: Thu, 23 Jan 2025 17:09:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=B5=8B=E8=83=BD=E6=96=87?= =?UTF-8?q?=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: huangxiaoyao <976125628@qq.com> --- ohos/docs/04_development/using-a-platform-view.md | 2 +- ...267\273\345\212\240\350\267\263\350\275\254 FlutterEntry.md" | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ohos/docs/04_development/using-a-platform-view.md b/ohos/docs/04_development/using-a-platform-view.md index 5425f434..b87c6123 100644 --- a/ohos/docs/04_development/using-a-platform-view.md +++ b/ohos/docs/04_development/using-a-platform-view.md @@ -2,7 +2,7 @@ ### 1. Configuring the Flutter Development Environment -For details, see https://gitee.com/openharmony-sig/flutter_flutter/blob/master/README_EN.md. +For details, see https://gitee.com/openharmony-sig/flutter_flutter/blob/master/README.en.md. ### 2. Creating a Project diff --git "a/ohos/docs/04_development/\345\246\202\344\275\225\344\275\277\347\224\250\346\267\267\345\220\210\345\274\200\345\217\221\346\267\273\345\212\240\350\267\263\350\275\254 FlutterEntry.md" "b/ohos/docs/04_development/\345\246\202\344\275\225\344\275\277\347\224\250\346\267\267\345\220\210\345\274\200\345\217\221\346\267\273\345\212\240\350\267\263\350\275\254 FlutterEntry.md" index fb423de6..a1dfd333 100644 --- "a/ohos/docs/04_development/\345\246\202\344\275\225\344\275\277\347\224\250\346\267\267\345\220\210\345\274\200\345\217\221\346\267\273\345\212\240\350\267\263\350\275\254 FlutterEntry.md" +++ "b/ohos/docs/04_development/\345\246\202\344\275\225\344\275\277\347\224\250\346\267\267\345\220\210\345\274\200\345\217\221\346\267\273\345\212\240\350\267\263\350\275\254 FlutterEntry.md" @@ -66,11 +66,13 @@ struct Index { this.flutterEntry?.aboutToDisappear() } + // Navigation的生命周期是onShown onPageShow() { Log.d("Flutter", "Index onPageShow==="); this.flutterEntry?.onPageShow() } + // Navigation的生命周期是onHidden onPageHide() { Log.d("Flutter", "Index onPageHide==="); this.flutterEntry?.onPageHide() -- Gitee