提交 dba54068 编写于 作者: W wang-xupeng2

revise api

Signed-off-by: Nwang-xupeng2 <wangxupeng2@huawei.com>
上级 009f7ea2
...@@ -74,6 +74,8 @@ ...@@ -74,6 +74,8 @@
}, },
"pages": [ "pages": [
"pages/index", "pages/index",
"pages/page1",
"pages/page2",
"pages/alertDialog", "pages/alertDialog",
"pages/animate_play_mode", "pages/animate_play_mode",
"pages/animator", "pages/animator",
......
...@@ -25,7 +25,7 @@ const TAG = 'ets_apiLack_add'; ...@@ -25,7 +25,7 @@ const TAG = 'ets_apiLack_add';
struct Second { struct Second {
private content: string = "这是第二页" private content: string = "这是第二页"
@State text: string = router.getParams()['text'] @State text: string = router.getParams()['text']
@State data: number = router.getParams()['data'] @State data: any = router.getParams()['data']
@State secondData : string = '' @State secondData : string = ''
build() { build() {
......
...@@ -139,7 +139,7 @@ export default function webJsunit() { ...@@ -139,7 +139,7 @@ export default function webJsunit() {
*/ */
it('getHitTest',0,async function(done){ it('getHitTest',0,async function(done){
emitKey="emitGetWebId"; emitKey="emitGetWebId";
Utils.registerEvent("getHitTest","2",118,done); Utils.registerEvent("getHitTest","7",118,done);
sendEventByKey('webcomponent',10,''); sendEventByKey('webcomponent',10,'');
}) })
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册