提交 6f08c9df 编写于 作者: X xinking129

fix codecheck

Signed-off-by: Nxinking129 <xinxin13@huawei.com>
上级 93ffa4e6
...@@ -17,7 +17,7 @@ import AbilityStage from "@ohos.app.ability.AbilityStage"; ...@@ -17,7 +17,7 @@ import AbilityStage from "@ohos.app.ability.AbilityStage";
export default class MyAbilityStage extends AbilityStage { export default class MyAbilityStage extends AbilityStage {
onCreate() { onCreate() {
console.info("ActsStageContextAssistOne StageAbility onCreate"); console.info('ActsStageContextAssistOne StageAbility onCreate');
globalThis.abilityStageContextA = this.context; globalThis.abilityStageContextA = this.context;
} }
} }
\ No newline at end of file
...@@ -40,8 +40,8 @@ export default class DrawnAbility extends Ability { ...@@ -40,8 +40,8 @@ export default class DrawnAbility extends Ability {
onForeground() { onForeground() {
console.info('ActsStageContextAssistOne DrawnAbility onForeground'); console.info('ActsStageContextAssistOne DrawnAbility onForeground');
globalThis.abilityContextA = this.context; globalThis.abilityContextA = this.context;
commonEvent.publish("StartDrawnAbility_CommonEvent_ContextOne", () => { commonEvent.publish('StartDrawnAbility_CommonEvent_ContextOne', () => {
console.log("Publish StartDrawnAbility_CommonEvent_ContextOne callback"); console.log('Publish StartDrawnAbility_CommonEvent_ContextOne callback');
}); });
} }
......
...@@ -13,7 +13,9 @@ ...@@ -13,7 +13,9 @@
"test-file-name": [ "test-file-name": [
"ActsStageContextPropertiesTest.hap", "ActsStageContextPropertiesTest.hap",
"ActsStageContextAssistOne.hap", "ActsStageContextAssistOne.hap",
"ActsStageContextAssistTwo.hap" "ActsStageContextAssistTwo.hap",
"ReportDrawnCompletedManualTestRely.hap",
"ReportDrawnCompletedReply.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册