Skip to content

Commit cd1dd1e

Browse files
committed
feat(component): 修复模拟点击事件错误问题
1 parent 6bc31d9 commit cd1dd1e

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

Diff for: dist/index.umd.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@
716716
tagA.style.display = 'none';
717717
document.body.appendChild(tagA);
718718

719-
tagA.onclick();
719+
tagA.click();
720720
}
721721

722722
/**

Diff for: dist/index.umd.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "callapp-lib",
3-
"version": "2.1.4",
3+
"version": "2.1.5",
44
"description": "call native webview from webpage",
55
"main": "dist/index.umd.js",
66
"scripts": {

Diff for: sources/evoke.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export function evokeByTagA(uri) {
7777
tagA.style.display = 'none';
7878
document.body.appendChild(tagA);
7979

80-
tagA.onclick();
80+
tagA.click();
8181
}
8282

8383
/**

0 commit comments

Comments
 (0)