未验证 提交 113cf0c2 编写于 作者: O openharmony_ci 提交者: Gitee

!9294 OnContextMenuShow modify the test case code

Merge pull request !9294 from 虞仕浩/0909
......@@ -1598,10 +1598,10 @@ onContextMenuShow(callback: (event?: { param: WebContextMenuParam, result: WebCo
build() {
Column() {
Web({ src: 'www.example.com', controller: this.controller })
.onContextMenuShow((event) => {
.onContextMenuShow((event) => {
console.info("x coord = " + event.param.x());
console.info("link url = " + event.param.getLinkUrl());
return false;
return true;
})
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册