mirror of
https://gitee.com/openharmony/inputmethod_imf
synced 2024-12-02 20:17:19 +00:00
commit
bd3778fa3e
@ -96,7 +96,8 @@ void JsInputMethodExtension::Init(const std::shared_ptr<AbilityLocalRecord> &rec
|
||||
HandleScope handleScope(jsRuntime_);
|
||||
auto &engine = jsRuntime_.GetNativeEngine();
|
||||
|
||||
jsObj_ = jsRuntime_.LoadModule(moduleName, srcPath, abilityInfo_->compileMode == CompileMode::ES_MODULE);
|
||||
jsObj_ = jsRuntime_.LoadModule(moduleName, srcPath, abilityInfo_->hapPath,
|
||||
abilityInfo_->compileMode == CompileMode::ES_MODULE);
|
||||
if (jsObj_ == nullptr) {
|
||||
IMSA_HILOGE("Failed to get jsObj_");
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user