You need to sign in or sign up before continuing.
提交 071be21e 编写于 作者: 辛宝Otto's avatar 辛宝Otto 🥊 提交者: lizhongyi_

调整部分测试例

上级 2c8d21ea
...@@ -199,16 +199,14 @@ ...@@ -199,16 +199,14 @@
content: "下载链接: " + event.detail.url + "\n文件大小: " + event.detail.contentLength / 1024 + "KB", content: "下载链接: " + event.detail.url + "\n文件大小: " + event.detail.contentLength / 1024 + "KB",
showCancel: false showCancel: false
}); });
}, },
contentheightchange(event : UniWebViewContentHeightChangeEvent) { contentheightchange(event : UniWebViewContentHeightChangeEvent) {
console.log(JSON.stringify(event.detail)); console.log(JSON.stringify(event.detail));
if (this.autoTest) { this.eventContentHeightChange = {
this.eventContentHeightChange = { "tagName": event.target?.tagName,
"tagName": event.target?.tagName, "type": event.type,
"type": event.type, "isValidHeight": event.detail.height > 0
"isValidHeight": event.detail.height > 0 };
};
}
}, },
confirm(event : UniInputConfirmEvent) { confirm(event : UniInputConfirmEvent) {
let url = event.detail.value; let url = event.detail.value;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册