From 1dcd64b504a45502ea3933b70d7211d448eda31b Mon Sep 17 00:00:00 2001 From: s30030188 Date: Mon, 14 Jul 2025 22:00:38 +0800 Subject: [PATCH] langurage change arktsmode Signed-off-by: s30030188 --- frameworks/core/components/plugin/plugin_element.cpp | 2 +- frameworks/core/components_ng/pattern/plugin/plugin_pattern.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frameworks/core/components/plugin/plugin_element.cpp b/frameworks/core/components/plugin/plugin_element.cpp index 0063c9692e2..447bf1a9f31 100644 --- a/frameworks/core/components/plugin/plugin_element.cpp +++ b/frameworks/core/components/plugin/plugin_element.cpp @@ -337,7 +337,7 @@ std::string PluginElement::GetPackageCodeLanguage(const RequestPluginInfo& info) if (!ret) { return codeLanguage; } - return bundleInfo.applicationInfo.codeLanguage; + return bundleInfo.applicationInfo.arkTSMode; } std::string PluginElement::GetPackagePathByWant(const WeakPtr& weak, RequestPluginInfo& info) const diff --git a/frameworks/core/components_ng/pattern/plugin/plugin_pattern.cpp b/frameworks/core/components_ng/pattern/plugin/plugin_pattern.cpp index 9a102e0a4ac..b462fce109b 100755 --- a/frameworks/core/components_ng/pattern/plugin/plugin_pattern.cpp +++ b/frameworks/core/components_ng/pattern/plugin/plugin_pattern.cpp @@ -410,7 +410,7 @@ std::string PluginPattern::GetPackageCodeLanguage(const RequestPluginInfo& info) if (!ret) { return codeLanguage; } - return bundleInfo.applicationInfo.codeLanguage; + return bundleInfo.applicationInfo.arkTSMode; } std::string PluginPattern::GetPackagePath(const WeakPtr& weak, RequestPluginInfo& info) const -- Gitee