diff --git a/adapter/ohos/entrance/ui_content_impl.cpp b/adapter/ohos/entrance/ui_content_impl.cpp index 35ab9be0..4c43853a 100644 --- a/adapter/ohos/entrance/ui_content_impl.cpp +++ b/adapter/ohos/entrance/ui_content_impl.cpp @@ -352,7 +352,7 @@ void UIContentImpl::CommonInitialize(OHOS::Rosen::Window* window, const std::str auto hapInfo = context->GetHapModuleInfo(); if (hapInfo) { pageProfile = hapInfo->pages; - const std::string profilePrefix = "@profile:"; + const std::string profilePrefix = "$profile:"; if (pageProfile.compare(0, profilePrefix.size(), profilePrefix) == 0) { pageProfile = pageProfile.substr(profilePrefix.length()).append(".json"); }