提交 79447fa9 编写于 作者: C chengxingzhen

XTS问题用例整改

Signed-off-by: Nchengxingzhen <chengxingzhen@huawei.com>
上级 8af28435
......@@ -40,20 +40,24 @@ export default {
featureAbility.getWant(
(err, data) => {
if (data.uri == '{true,true,false}'){
console.info("SUB_AA_OpenHarmony_Want_0200_StartAbility" + JSON.stringify(data) + JSON.stringify(err));
console.info("SUB_AA_OpenHarmony_Want_0200_StartAbility" + JSON
.stringify(data) + JSON.stringify(err));
event = data.uri
commonEventPublishData = {
data: event,
}
commonEvent.publish('SUB_AA_OpenHarmony_Want_0200_CommonEvent', commonEventPublishData, PublishCallBackOne);
commonEvent.publish('SUB_AA_OpenHarmony_Want_0200_CommonEvent',
commonEventPublishData, PublishCallBackOne);
}
if (data.type == 'MIMETYPE'){
console.info("SUB_AA_OpenHarmony_Want_0300_StartAbility" + JSON.stringify(data) + JSON.stringify(err));
console.info("SUB_AA_OpenHarmony_Want_0300_StartAbility" + JSON
.stringify(data) + JSON.stringify(err));
event = data.type
commonEventPublishData = {
data: event,
}
commonEvent.publish('SUB_AA_OpenHarmony_Want_0300_CommonEvent', commonEventPublishData, PublishCallBackTwo);
commonEvent.publish('SUB_AA_OpenHarmony_Want_0300_CommonEvent',
commonEventPublishData, PublishCallBackTwo);
}
}
......@@ -63,5 +67,3 @@ export default {
console.info('ApplicationInfo MainAbility2 onReady');
},
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册