提交 39613145 编写于 作者: X xinking129

fix code

Signed-off-by: Nxinking129 <xinxin13@huawei.com>
上级 07c6120b
......@@ -354,8 +354,9 @@ export default class UiExtAbility extends ActionExtensionAbility {
}
if (want.action === 'Acts_ActionExtensionAbility_3200') {
let moduleContext;
try {
let moduleContext = this.context.createModuleContext('entry_assist');
moduleContext = this.context.createModuleContext('entry_assist');
} catch {
console.log('createModuleContext err');
}
......@@ -370,8 +371,9 @@ export default class UiExtAbility extends ActionExtensionAbility {
}
if (want.action === 'Acts_ActionExtensionAbility_3300') {
let moduleContext;
try {
let moduleContext = this.context.createModuleContext('abc');
moduleContext = this.context.createModuleContext('abc');
} catch {
console.log('createModuleContext err');
}
......@@ -386,8 +388,9 @@ export default class UiExtAbility extends ActionExtensionAbility {
}
if (want.action === 'Acts_ActionExtensionAbility_3400') {
let moduleContext;
try {
let moduleContext = this.context.createModuleContext(undefined);
moduleContext = this.context.createModuleContext(undefined);
} catch {
console.log('createModuleContext err');
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册