From cf5f33c3d1fffc65b1dc2120d37c05d6b25b4ddf Mon Sep 17 00:00:00 2001 From: zhenyuWang <13641039885@163.com> Date: Wed, 11 Sep 2024 16:49:19 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E8=B0=83=E6=95=B4=E7=A4=BA?= =?UTF-8?q?=E4=BE=8B=EF=BC=8C=E5=85=BC=E5=AE=B9=20UniPage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uni_modules/uni-stat/utssdk/common/utils/pageInfo.uts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uni_modules/uni-stat/utssdk/common/utils/pageInfo.uts b/uni_modules/uni-stat/utssdk/common/utils/pageInfo.uts index db20808d..5b4d211e 100644 --- a/uni_modules/uni-stat/utssdk/common/utils/pageInfo.uts +++ b/uni_modules/uni-stat/utssdk/common/utils/pageInfo.uts @@ -233,7 +233,7 @@ export const get_page_name = (routepath : string) : string => { } // @ts-ignore - const pageStyle = page.$page.getPageStyle() + const pageStyle = (page.$page as UniPage).getPageStyle() const titleText = pageStyle['navigationBarTitleText'] ?? '' return titleText as string } -- GitLab