@dcloudio/uni-quickapp-webview 2.0.1-36220220914001 → 2.0.1-36320220917001
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/dist/index.js +2 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1264,7 +1264,7 @@ const onPushMessageCallbacks = [];
|
|
|
1264
1264
|
const onPushMessage = (fn) => {
|
|
1265
1265
|
if (onPushMessageCallbacks.indexOf(fn) === -1) {
|
|
1266
1266
|
onPushMessageCallbacks.push(fn);
|
|
1267
|
-
}
|
|
1267
|
+
}
|
|
1268
1268
|
};
|
|
1269
1269
|
|
|
1270
1270
|
const offPushMessage = (fn) => {
|
|
@@ -2366,7 +2366,6 @@ function parseBasePage (vuePageOptions, {
|
|
|
2366
2366
|
const pageOptions = parseComponent(vuePageOptions);
|
|
2367
2367
|
|
|
2368
2368
|
initHooks(pageOptions.methods, hooks$1, vuePageOptions);
|
|
2369
|
-
initUnknownHooks(pageOptions.methods, vuePageOptions);
|
|
2370
2369
|
|
|
2371
2370
|
pageOptions.methods.onLoad = function (query) {
|
|
2372
2371
|
this.options = query;
|
|
@@ -2378,6 +2377,7 @@ function parseBasePage (vuePageOptions, {
|
|
|
2378
2377
|
this.$vm.$mp.query = query; // 兼容 mpvue
|
|
2379
2378
|
this.$vm.__call_hook('onLoad', query);
|
|
2380
2379
|
};
|
|
2380
|
+
initUnknownHooks(pageOptions.methods, vuePageOptions, ['onReady']);
|
|
2381
2381
|
|
|
2382
2382
|
return pageOptions
|
|
2383
2383
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcloudio/uni-quickapp-webview",
|
|
3
|
-
"version": "2.0.1-
|
|
3
|
+
"version": "2.0.1-36320220917001",
|
|
4
4
|
"description": "uni-app quickapp-webview",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"repository": {
|
|
@@ -17,5 +17,5 @@
|
|
|
17
17
|
"name": "quickapp-webview",
|
|
18
18
|
"title": "快应用(Webview)版"
|
|
19
19
|
},
|
|
20
|
-
"gitHead": "
|
|
20
|
+
"gitHead": "753b0d4355a540e1afe1b7ad48b985de9c11fb4b"
|
|
21
21
|
}
|