提交 3fa1fefb 编写于 作者: Z zhongjianfei

fix Sample bugs for ArkTS card.

Signed-off-by: Nzhongjianfei <zhongjianfei@huawei.com>
Change-Id: Ibdfa641e547f9a0a36aa10104e17243f6fc2b70d
上级 7192afcc
......@@ -60,7 +60,7 @@
}
function FunBCall(data) {
console.log('FunACall param:' + JSON.stringify(data.readString()));
console.log('FunBCall param:' + JSON.stringify(data.readString()));
return null;
}
......@@ -76,6 +76,8 @@
}
}
...
// 进程退出时,解除监听
onDestroy() {
try {
......
......@@ -55,7 +55,7 @@ Button('拉至后台')
'abilityName': 'EntryAbility',
'params': {
'method': 'fun', // 自定义调用的方法名,必填
'message': 'testForcall' // 自定义要发送的message
'message': 'testForCall' // 自定义要发送的message
}
});
})
......
......@@ -148,7 +148,6 @@
import UIAbility from '@ohos.app.ability.UIAbility';
import formBindingData from '@ohos.app.form.formBindingData';
import formProvider from '@ohos.app.form.formProvider';
import formInfo from '@ohos.app.form.formInfo';
const MSG_SEND_METHOD: string = 'funA'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册