mirror of
https://github.com/openharmony/ace_ace_engine.git
synced 2026-07-18 20:54:27 -04:00
!2335 Weekly挑单:Stage模型包结构页面解析适配
Merge pull request !2335 from Sunfei/cherry-pick-1650967983
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user