@zfqh/uniapp 0.3.13 → 0.3.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/lib/mixins/webview.js +3 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.3.14](http://10.10.10.16/caoben/front-end/compare/@zfqh/uniapp@0.3.13...@zfqh/uniapp@0.3.14) (2026-08-15)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @zfqh/uniapp
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [0.3.13](http://10.10.10.16/caoben/front-end/compare/@zfqh/uniapp@0.3.12...@zfqh/uniapp@0.3.13) (2026-08-15)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @zfqh/uniapp
|
package/lib/mixins/webview.js
CHANGED
|
@@ -144,7 +144,9 @@ export default {
|
|
|
144
144
|
// #ifdef H5
|
|
145
145
|
let ele = this.$el;
|
|
146
146
|
if (ele.tagName !== 'IFRAME') {
|
|
147
|
-
ele =
|
|
147
|
+
ele =
|
|
148
|
+
this.$el?.parentNode?.querySelector?.('iframe') ||
|
|
149
|
+
document.querySelector(`iframe[src="${this.webviewUrl}"]`);
|
|
148
150
|
}
|
|
149
151
|
this.__webView = ele?.contentWindow;
|
|
150
152
|
this.__postMessage = (data) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zfqh/uniapp",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.14",
|
|
4
4
|
"description": "uniapp公共模块",
|
|
5
5
|
"author": "yinjiazeng@163.com",
|
|
6
6
|
"license": "MIT",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"@types/qs": "^6.9.16",
|
|
47
47
|
"@types/url-parse": "^1.4.11"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "74b0768a80522cef891995db7aad9f9ed8e1f64c"
|
|
50
50
|
}
|