diff --git a/uni_modules/uni-stat/utssdk/common/utils/pageInfo.uts b/uni_modules/uni-stat/utssdk/common/utils/pageInfo.uts index db20808dfa5db3251a6f6f0358bc01f9e7e9efcd..5b4d211ed505fd174da6eda8e530360ee37dff96 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 }